Skip to content

Commit 6f7b547

Browse files
remove honeycomb exporter
1 parent e15d2ea commit 6f7b547

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

installer/pkg/components/otel-collector/configmap.go

+5-11
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,12 @@ func buildProcessorsConfig(ctx *common.RenderContext) string {
6767
return processorsConfig
6868
}
6969

70-
func buildExportersConfig(ctx *common.RenderContext) string {
71-
return fmt.Sprintf(`exporters:
70+
func buildExportersConfig() string {
71+
return `exporters:
7272
otlp:
73-
endpoint: "api.honeycomb.io:443"
74-
headers:
75-
"x-honeycomb-team": "%s"
76-
"x-honeycomb-dataset": "%s"
77-
otlp/tempo:
7873
endpoint: "otel-gateway.gitpod.io:4317"
7974
auth:
80-
authenticator: basicauth/client`,
81-
ctx.Config.Tracing.HoneycombAPIKey, ctx.Config.Tracing.HoneycombDataset)
75+
authenticator: basicauth/client`
8276
}
8377

8478
func buildExtensionsConfig(ctx *common.RenderContext) string {
@@ -103,7 +97,7 @@ func buildServiceConfig(ctx *common.RenderContext) string {
10397
traces:
10498
receivers: [jaeger, otlp]
10599
processors: [%s]
106-
exporters: ["otlp", "otlp/tempo"]
100+
exporters: ["otlp"]
107101
`
108102
var processors = ""
109103

@@ -117,7 +111,7 @@ func buildServiceConfig(ctx *common.RenderContext) string {
117111
func configMapContent(ctx *common.RenderContext) string {
118112
var receiversConfig = buildReceiversConfig(ctx)
119113
var processorsConfig = buildProcessorsConfig(ctx)
120-
var exportersConfig = buildExportersConfig(ctx)
114+
var exportersConfig = buildExportersConfig()
121115
var extensionsConfig = buildExtensionsConfig(ctx)
122116
var serviceConfig = buildServiceConfig(ctx)
123117
var config = fmt.Sprintf(`%s

0 commit comments

Comments
 (0)