Skip to content

Commit

Permalink
docs(k8sclusterreceiver): 📝 update readme docs
Browse files Browse the repository at this point in the history
Signed-off-by: Prashant Shahi <me@prashantshahi.dev>
  • Loading branch information
prashant-shahi committed Sep 9, 2023
1 parent 00ebf82 commit 97e1d40
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions receiver/k8sclusterreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ The following allocatable resource types are available.
- storage
- `metrics`: Allows to enable/disable metrics.
- `resource_attributes`: Allows to enable/disable resource attributes.
- `ignore_deprecated_resources` (default = `false`): Whether to ignore deprecated Kubernetes API resources. If set to true,
the receiver will not collect metrics for deprecated resources. This setting is useful for clusters that have deprecated
resources that are not used anymore and are causing errors or warnings in the logs.

Example:

Expand All @@ -84,7 +81,6 @@ Example:
resource_attributes:
container.id:
enabled: false
ignore_deprecated_resources: true
```
The full list of settings exposed for this receiver are documented [here](./config.go)
Expand Down
1 change: 0 additions & 1 deletion receiver/k8sclusterreceiver/testdata/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ k8s_cluster/all_settings:
allocatable_types_to_report: [ "cpu","memory" ]
metadata_exporters: [ nop ]
metadata_collection_interval: 30m
ignore_deprecated_resources: false
k8s_cluster/partial_settings:
collection_interval: 30s
distribution: openshift

0 comments on commit 97e1d40

Please sign in to comment.