Skip to content

Commit

Permalink
instrumentation: disable Prometheus exporter and endpoint by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
klihub committed May 20, 2020
1 parent 0071a76 commit 048fc0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/instrumentation/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ const (
// defaultJaegerAgent is the default Jaeger agent endpoint.
defaultJaegerAgent = ""
// defaultHTTPEndpoint is the default HTTP endpoint serving Prometheus /metrics.
defaultHTTPEndpoint = ":8888"
defaultHTTPEndpoint = ""
// defaultPrometheusExport is the default state for Prometheus exporting.
defaultPrometheusExport = "true"
defaultPrometheusExport = "false"
)

// options encapsulates our configurable instrumentation parameters.
Expand Down

0 comments on commit 048fc0a

Please sign in to comment.