-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Name for OS K8s deployment from replicaset telemetry (#1573)
Co-authored-by: Otávio Carvalho <[email protected]>
- Loading branch information
1 parent
2ea6d08
commit 2341699
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...ypes/infra-kubernetes_deployment/tests/k8s-ksm-via-opentelemetry-prometheus-receiver.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{ | ||
"k8s.cluster.name": "farm", | ||
"namespace": "orchards", | ||
"deployment": "apple-tree", | ||
"newrelic.source": "api.metrics.otlp", | ||
"newrelicOnly": "true", | ||
"metricName": "kube_deployment_created", | ||
"kube_deployment_created": {"type":"gauge","count":1,"sum":1.0,"min":1.0,"max":1.0,"latest":1.0} | ||
}, | ||
{ | ||
"k8s.cluster.name": "farm", | ||
"namespace": "orchards", | ||
"owner_name": "apple-tree", | ||
"owner_kind": "Deployment", | ||
"replicaset": "apple-tree-9f7b9f44b", | ||
"newrelic.source": "api.metrics.otlp", | ||
"newrelicOnly": "true", | ||
"metricName": "kube_replicaset_owner", | ||
"kube_replicaset_owner": {"type":"gauge","count":1,"sum":1.0,"min":1.0,"max":1.0,"latest":1.0} | ||
} | ||
] |