[BUG] otel k8s-cluster rule, add namespace dimension for MAL aggregation calculation(Deployment Status,Deployment Spec Replicas) (#10563)
This commit is contained in:
parent
3a8e0c11b7
commit
3662b01365
|
|
@ -13,6 +13,7 @@
|
|||
* Fix component ID of topology overlap due to storage layer bugs.
|
||||
* [Breaking Change] Enhance JDBC storage through merging tables and managing day-based table rolling.
|
||||
* [Breaking Change] Sharding-MySQL implementations and tests get removed due to we have the day-based rolling mechanism by default
|
||||
* Fix otel k8s-cluster rule add namespace dimension for MAL aggregation calculation(Deployment Status,Deployment Spec Replicas)
|
||||
|
||||
#### Documentation
|
||||
|
||||
|
|
|
|||
|
|
@ -66,9 +66,9 @@ metricsRules:
|
|||
- name: deployment_total
|
||||
exp: kube_deployment_labels.sum(['cluster'])
|
||||
- name: deployment_status
|
||||
exp: kube_deployment_status_condition.valueEqual(1).tagMatch('condition' , 'Available').sum(['cluster' , 'deployment' ,'condition' , 'status']).tag({tags -> tags.remove('condition')})
|
||||
exp: kube_deployment_status_condition.valueEqual(1).tagMatch('condition' , 'Available').sum(['cluster' , 'deployment' , 'namespace' ,'condition' , 'status']).tag({tags -> tags.remove('condition')})
|
||||
- name: deployment_spec_replicas
|
||||
exp: kube_deployment_spec_replicas.sum(['cluster' , 'deployment'])
|
||||
exp: kube_deployment_spec_replicas.sum(['cluster' , 'deployment' , 'namespace'])
|
||||
|
||||
- name: service_total
|
||||
exp: kube_service_info.sum(['cluster'])
|
||||
|
|
|
|||
Loading…
Reference in New Issue