Skip to content

Commit 20aa0de

Browse files
committed
Continuous service discovery
This change introduces a new way of how the discovery mechanism works. Instead of observing data for the first 10 seconds and creating a static receiver_cretor config from that, it'll be running discovery receiver watching for all supported receivers. Once a new endpoint for any supported service is available, the collector will try to fetch metrics from it. If the collector cannot get metrics from a new service right away, it'll send detailed information about what can be done to enable it to the backend, which will be reflected in the newly discovered services UI. Any services that are successfully discovered will also be reflected in the UI. The collector sends entity events as OTLP logs to deliver information about the discovered services. The new functionality can be enabled with "splunk.continuousDiscovery" feature gate by adding --feature-gates=splunk.continuousDiscovery argument to the otecol command.
1 parent aec8fd2 commit 20aa0de

File tree

4 files changed

+268
-249
lines changed

4 files changed

+268
-249
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ require (
129129
go.etcd.io/etcd/client/v2 v2.305.15
130130
go.opentelemetry.io/collector/component/componentstatus v0.109.0
131131
go.opentelemetry.io/collector/config/confighttp v0.109.0
132+
go.opentelemetry.io/collector/config/configopaque v1.15.0
132133
go.opentelemetry.io/collector/config/configtelemetry v0.109.0
133134
go.opentelemetry.io/collector/confmap v1.15.0
134135
go.opentelemetry.io/collector/confmap/provider/envprovider v1.15.0
@@ -350,7 +351,6 @@ require (
350351
go.opentelemetry.io/collector/config/configcompression v1.15.0 // indirect
351352
go.opentelemetry.io/collector/config/configgrpc v0.109.0 // indirect
352353
go.opentelemetry.io/collector/config/confignet v0.109.0 // indirect
353-
go.opentelemetry.io/collector/config/configopaque v1.15.0 // indirect
354354
go.opentelemetry.io/collector/config/configretry v1.15.0 // indirect
355355
go.opentelemetry.io/collector/config/configtls v1.15.0 // indirect
356356
go.opentelemetry.io/collector/config/internal v0.109.0 // indirect
@@ -625,7 +625,7 @@ require (
625625
go.opencensus.io v0.24.0
626626
go.opentelemetry.io/collector/component v0.109.0
627627
go.opentelemetry.io/collector/consumer v0.109.0
628-
go.opentelemetry.io/collector/featuregate v1.15.0 // indirect
628+
go.opentelemetry.io/collector/featuregate v1.15.0
629629
go.opentelemetry.io/collector/semconv v0.109.0
630630
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.55.0 // indirect
631631
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 // indirect

0 commit comments

Comments
 (0)