Skip to content

Commit

Permalink
Merge the latest of dev into apm branch (open-telemetry#79)
Browse files Browse the repository at this point in the history
* added units for Pod status metrics (open-telemetry#77)

Adding Units for pod status Failed, Pending and Succeeded metrics

* Adding apiserver_storage_list_duration_seconds at cluster and resource level (open-telemetry#71)

* Adding apiserver_storage_list_duration_seconds at cluster and resource level

---------

Co-authored-by: Mitali Salvi <44349099+mitali-salvi@users.noreply.github.com>
  • Loading branch information
nathalapooja and mitali-salvi authored Aug 15, 2023
1 parent 43ee922 commit c83a0b1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions internal/aws/containerinsight/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ func init() {
StatusTerminated: UnitCount,
StatusWaiting: UnitCount,
StatusWaitingReasonCrashed: UnitCount,
StatusFailed: UnitCount,
StatusPending: UnitCount,
StatusSucceeded: UnitCount,
StatusUnknown: UnitCount,
StatusReady: UnitCount,
StatusScheduled: UnitCount,
Expand Down
16 changes: 15 additions & 1 deletion receiver/awscontainerinsightreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ kubectl apply -f config.yaml
|-----------------------------|-------|
| etcd_db_total_size_in_bytes | bytes |


<br/><br/>
| Resource Attribute |
|--------------------|
Expand All @@ -429,6 +428,21 @@ kubectl apply -f config.yaml

<br/><br/>

### Cluster Resources
| Metric | Unit |
|-----------------------------------------|---------|
| apiserver_storage_list_duration_seconds | Seconds |

<br/><br/>
| Resource Attribute |
|--------------------|
| ClusterName |
| NodeName |
| Type |
| Timestamp |
| Version |
| Sources |

### Cluster Deployment
| Metric | Unit |
|-----------------------------|-------|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ var (
"rest_client_requests_total",
"etcd_request_duration_seconds.*",
"etcd_db_total_size_in_bytes.*",
"apiserver_storage_list_duration_seconds.*",
}
)

Expand Down

0 comments on commit c83a0b1

Please sign in to comment.