Skip to content

Commit

Permalink
Improve and fix the summary for k8s pods (#149)
Browse files Browse the repository at this point in the history
* Fix pod createdBy and createdKind tags references

* Remove network tx and rx from pod summary metrics

* Add the pod's status to its summary metrics
  • Loading branch information
Douglas Camata authored Mar 31, 2021
1 parent e72b0da commit 0fb658d
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions definitions/infra-kubernetes_pod/summary_metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,21 @@ namespaceName:
unit: STRING
tag:
key: k8s.namespaceName
status:
title: Status
unit: STRING
tag:
key: k8s.status
createdBy:
title: Creator name
unit: STRING
tag:
key: createdBy
key: k8s.createdBy
createdKind:
title: Creator kind
unit: STRING
tag:
key: createdKind
txNetwork:
query:
eventId: entityGuid
select: average(net.txBytesPerSecond)
from: K8sPodSample
unit: BYTES_PER_SECOND
title: Network Tx
rxNetwork:
query:
eventId: entityGuid
select: average(net.rxBytesPerSecond)
from: K8sPodSample
unit: BYTES_PER_SECOND
title: Network Rx
key: k8s.createdKind
errorsNetwork:
query:
eventId: entityGuid
Expand Down

0 comments on commit 0fb658d

Please sign in to comment.