Skip to content

Commit

Permalink
feat: add expected jaeger URL in device infos
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Nov 30, 2018
1 parent 2a03c92 commit 937a3e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/node/nodeapi_devtools.go
Expand Up @@ -11,6 +11,7 @@ import (
"fmt"
"io"
"math/rand"
"net/url"
"strings"
"time"

Expand Down Expand Up @@ -180,6 +181,8 @@ func (n *Node) NodeInfos(ctx context.Context) (map[string]string, error) {
infos["node: pubkey"] = n.b64pubkey
infos["node: sigchain"] = n.sigchain.ToJSON()

infos["runtime: jaeger URL"] = "http://jaeger.berty.io:16686/search?service=" + url.PathEscape(n.initDevice.Name+":mobile")

if peer, err := n.ID(ctx, nil); err != nil {
infos["p2p: ID"] = err.Error()
} else {
Expand Down

0 comments on commit 937a3e0

Please sign in to comment.