Skip to content

Commit

Permalink
Merge pull request #15 from krzko/feat-add-tempo-bridge
Browse files Browse the repository at this point in the history
feat: apply o11y network to tempo
  • Loading branch information
krzko authored May 28, 2023
2 parents bcf7b7f + 9979593 commit 87cef38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/cli/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ func addExternalNetwork(filePath string) error {
}
service["networks"] = []string{"default"}
name, _ := nAny.(string)
if slices.Contains([]string{"otel-collector"}, name) {
// inject o11y network only to otel-collector service.
// other services like mini-o11y-stack, grafana, etc. should not be exposed.
// inject o11y network only to otel-collector and tempo service.
// other services like mini-o11y-stack, grafana, etc. should not be exposed.
if slices.Contains([]string{"otel-collector"}, name) || slices.Contains([]string{"tempo"}, name) {
service["networks"] = []string{"o11y", "default"}
}
}
Expand Down

0 comments on commit 87cef38

Please sign in to comment.