Skip to content

Commit

Permalink
Remove deprecated otelcol.exporter.jaeger (#5171)
Browse files Browse the repository at this point in the history
feat(otelcol/exporter): remove deprecated Jaeger exporter
  • Loading branch information
hainenber authored Oct 11, 2023
1 parent 93cb6c3 commit 79c690e
Show file tree
Hide file tree
Showing 14 changed files with 57 additions and 469 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ internal API changes are not present.
Main (unreleased)
-----------------

### Breaking changes

- Remove `otelcol.exporter.jaeger` component (@hainenber)

### Features

- Added a new `stage.decolorize` stage to `loki.process` component which
Expand Down
1 change: 0 additions & 1 deletion component/all/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ import (
_ "github.com/grafana/agent/component/otelcol/connector/servicegraph" // Import otelcol.connector.servicegraph
_ "github.com/grafana/agent/component/otelcol/connector/spanlogs" // Import otelcol.connector.spanlogs
_ "github.com/grafana/agent/component/otelcol/connector/spanmetrics" // Import otelcol.connector.spanmetrics
_ "github.com/grafana/agent/component/otelcol/exporter/jaeger" // Import otelcol.exporter.jaeger
_ "github.com/grafana/agent/component/otelcol/exporter/loadbalancing" // Import otelcol.exporter.loadbalancing
_ "github.com/grafana/agent/component/otelcol/exporter/logging" // Import otelcol.exporter.logging
_ "github.com/grafana/agent/component/otelcol/exporter/loki" // Import otelcol.exporter.loki
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func Test_TopicDiscovery(t *testing.T) {
}
group.mut.Unlock()
return reflect.DeepEqual([]string{"topic1"}, group.GetTopics())
}, time.Second, time.Millisecond, "expected topics: %v, got: %v", []string{"topic1"}, group.GetTopics())
}, 5*time.Second, 100*time.Millisecond, "expected topics: %v, got: %v", []string{"topic1"}, group.GetTopics())

client.UpdateTopics([]string{"topic1", "topic2"})

Expand All @@ -75,7 +75,7 @@ func Test_TopicDiscovery(t *testing.T) {
}
group.mut.Unlock()
return reflect.DeepEqual([]string{"topic1", "topic2"}, group.GetTopics())
}, time.Second, time.Millisecond, "expected topics: %v, got: %v", []string{"topic1", "topic2"}, group.GetTopics())
}, 5*time.Second, 100*time.Millisecond, "expected topics: %v, got: %v", []string{"topic1", "topic2"}, group.GetTopics())

require.NoError(t, ts.Stop())
require.True(t, closed)
Expand Down
102 changes: 0 additions & 102 deletions component/otelcol/exporter/jaeger/jaeger.go

This file was deleted.

8 changes: 4 additions & 4 deletions component/otelcol/processor/discovery/discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,13 @@ func Test_Insert(t *testing.T) {
"key": "ip",
"value": { "stringValue": "1.2.2.2" }
},
{
"key": "test_label",
"value": { "stringValue": "test_val2" }
},
{
"key": "test.label.with.dots",
"value": { "stringValue": "test.val2.with.dots" }
},
{
"key": "test_label",
"value": { "stringValue": "test_val2" }
}]
},
"scopeSpans": [{
Expand Down
199 changes: 0 additions & 199 deletions docs/sources/flow/reference/components/otelcol.exporter.jaeger.md

This file was deleted.

Loading

0 comments on commit 79c690e

Please sign in to comment.