Skip to content

Commit 39fe68a

Browse files
Adds resourceVersion support to k8sObject receiver
1 parent a6ac429 commit 39fe68a

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

internal/docker/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/docker/docker v28.5.2+incompatible
99
github.com/gobwas/glob v0.2.3
1010
github.com/stretchr/testify v1.11.1
11-
go.opentelemetry.io/collector/confmap v1.53.1-0.20260309153054-85fc1918516c
11+
go.opentelemetry.io/collector/confmap v1.52.1-0.20260227062254-168030d61d7d
1212
go.uber.org/goleak v1.3.0
1313
go.uber.org/zap v1.27.1
1414
)
@@ -40,7 +40,7 @@ require (
4040
github.com/pkg/errors v0.9.1 // indirect
4141
github.com/pmezard/go-difflib v1.0.0 // indirect
4242
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
43-
go.opentelemetry.io/collector/featuregate v1.53.1-0.20260309153054-85fc1918516c // indirect
43+
go.opentelemetry.io/collector/featuregate v1.52.1-0.20260227062254-168030d61d7d // indirect
4444
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
4545
go.opentelemetry.io/otel v1.40.0 // indirect
4646
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.24.0 // indirect

internal/docker/go.sum

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/k8sobjectsreceiver/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ the K8s API server. This can be one of `none` (for no auth), `serviceAccount`
5959
- `field_selector`: select objects by field(s)
6060
- `interval`: the interval at which object is pulled, default 60 minutes. Only useful for `pull` mode.
6161
- `exclude_watch_type`: allows excluding specific watch types. Valid values are `ADDED`, `MODIFIED`, `DELETED`, `BOOKMARK`, and `ERROR`. Only usable in `watch` mode.
62-
- `resource_version` allows watch resources starting from a specific version (default = `1`). Only available for `watch` mode. If not specified, the receiver will do an initial list to get the resourceVersion before starting the watch. See [Efficient Detection of Change](https://kubernetes.io/docs/reference/using-api/api-concepts/#efficient-detection-of-changes) for details on why this is necessary.
62+
- `resource_version`: Allows watching resources starting from a specific version (default = `1`). Only available for `watch` mode. If not specified, the receiver will do an initial list to get the resourceVersion before starting the watch. See [Efficient Detection of Change](https://kubernetes.io/docs/reference/using-api/api-concepts/#efficient-detection-of-changes) for details on why this is necessary.
6363
- `namespaces`: An array of `namespaces` to collect events from. (default = `all`)
6464
- `exclude_namespaces`: allows excluding namespaces from being watched/pulled, (NOTE: if a new namespace that matches the regex is added, the collector will need to be restarted)
6565
- `group`: API group name. It is an optional config. When given resource object is present in multiple groups,

0 commit comments

Comments
 (0)