Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opentelemetry changes for Petasos #67

Merged
merged 6 commits into from
May 1, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions deploy/packaging/petasos_spruce.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,3 +294,15 @@ service:
# (Optional) defaults to empty struct
# queryOptions:
# useCache: true

# tracing provides configuration for OpenTelemetry
tracing:
# provider is the provider name. Currently, stdout, jaegar and zipkin are supported.
provider: (( grab $TRACING_PROVIDER_NAME || "noop" ))

# skipTraceExport only applies when provider is stdout. Set skipTraceExport to true
# so that trace information is not written to stdout.
#skipTraceExport: true

# endpoint is where trace information should be routed. Applies to zipkin and jaegar.
# endpoint: (( grab $TRACING_PROVIDER_ENDPOINT || "http://localhost:9411/api/v2/spans" ))
joe94 marked this conversation as resolved.
Show resolved Hide resolved
14 changes: 9 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ go 1.12

require (
github.com/c9s/goprocinfo v0.0.0-20190309065803-0b2ad9ac246b // indirect
github.com/go-kit/kit v0.9.0
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d // indirect
github.com/go-kit/kit v0.10.0
github.com/gorilla/mux v1.8.0 // indirect
github.com/justinas/alice v1.2.0
github.com/spaolacci/murmur3 v1.1.0 // indirect
github.com/spf13/pflag v1.0.3
github.com/spf13/viper v1.6.1
github.com/xmidt-org/webpa-common v1.10.0
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.1
github.com/xmidt-org/candlelight v0.0.4
github.com/xmidt-org/webpa-common v1.11.6
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.19.0
go.opentelemetry.io/otel v0.19.0
go.opentelemetry.io/otel/trace v0.19.0
)