Skip to content

Commit

Permalink
tracing: use the right svc name (BuoyantIO#122)
Browse files Browse the repository at this point in the history
When tracing is enabled, the `emoji` svc is being incorrectly
marked as `voting` as we seem to use the wrong service name
here causing confusion.

This PR fixes that by using `emoji` in the emoji svc
trace initialization

Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
  • Loading branch information
Pothulapati authored Jan 19, 2022
1 parent e4916e3 commit 3ea29c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emojivoto-emoji-svc/cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func main() {
ocagent.WithInsecure(),
ocagent.WithReconnectionPeriod(5*time.Second),
ocagent.WithAddress(ocagentHost),
ocagent.WithServiceName("voting"))
ocagent.WithServiceName("emoji"))
if err != nil {
log.Fatalf("Failed to create ocagent-exporter: %v", err)
}
Expand Down

0 comments on commit 3ea29c7

Please sign in to comment.
  NODES
COMMUNITY 1
Note 1
Project 3
USERS 1