-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add metrics for deployment, replicaset, replication_controller, statefulset and hpa #1636
Add metrics for deployment, replicaset, replication_controller, statefulset and hpa #1636
Conversation
b09d792
to
be17329
Compare
@open-telemetry/specs-semconv-approvers should the semantic-conventions/docs/general/metrics.md Line 148 in 2d34907
We don't use a pluralized metric name here but I want to double check if this rule should be taken into account. It would be preferable if we define this metrics as is to minimize breaking changes of the Collector. |
07e6fd4
to
eee691b
Compare
Taking back my approval until discussion in #1637 (comment) is resolved |
I have updated the PR to include the If want to achieve consistency while also being semantically correct we either need to use the Providing bellow the current state (copied from the PR's description):
Breaking changes between the Collector and the Semconv will be listed in the k8s migration guide once #1636 is merged. |
bc46f76
to
ce46ae4
Compare
We have a few minor discrepancies in resource/metric names. While I don't think we need to change any existing names, I would like to note them down for future reference.
|
As discussed in the K8s SemConv WG meeting today, we agree on making the change to |
15d8278
to
dbb71af
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate that we moved from repliaca -> pods for the convention here. I think that change will make the user experience a bit simpler as well. Thank you!
@open-telemetry/specs-semconv-maintainers could you also take a look please? note: I'm suggesting we introduce the metrics as-is and follow-up for enhancing their descriptions more to cover their specific relations with resources. |
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Co-authored-by: Tetiana Kravchenko <tanya.kravchenko.v@gmail.com>
Co-authored-by: Tetiana Kravchenko <tanya.kravchenko.v@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
0beb344
to
1f91666
Compare
Changes
Part of #1032.
Fixes #1644
Fixes #1637
Adds the following metrics:
k8s.deployment.desired_pods
(emitted by collector) [k8s.deployment.available_pods
(emitted by collector) [k8s.replicaset.desired_pods
(emitted by collector) [k8s.replicaset.available_pods
(emitted by collector) [k8s.replication_controller.desired_pods
(emitted by collector) [k8s.replication_controller.available_pods
(emitted by collector) [k8s.statefulset.desired_pods
(emitted by collector) [ ✅ not a breaking change for the Collector]k8s.statefulset.ready_pods
(emitted by collector) [ ✅ not a breaking change for the Collector]k8s.statefulset.current_pods
(emitted by collector) [ ✅ not a breaking change for the Collector]k8s.statefulset.updated_pods
(emitted by collector) [ ✅ not a breaking change for the Collector]k8s.hpa.desired_pods
(emitted by collector) [k8s.hpa.current_pods
(emitted by collector) [k8s.hpa.max_pods
(emitted by collector) [k8s.hpa.min_pods
(emitted by collector) [These metrics have been in use by the Opentelemetry Collector and specifically the
k8scluster
receiver component.Breaking changes between the Collector and the Semconv will be listed in the k8s migration guide once #1636 is merged.
Merge requirement checklist
[chore]