Skip to content

Update signalfx exporter translations #579

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

Conversation

dmitryax
Copy link
Member

  • Rename more k8s specific dimensions and metrics
  • Use cpu.num_processors instead of machine_cpu_cores
  • Compute memory.total
  • Split system.memory.usage

@dmitryax dmitryax requested a review from a team July 29, 2020 18:49
@dmitryax dmitryax force-pushed the more-signalfx-exporter-translations branch from b115c12 to f913872 Compare July 29, 2020 19:02
@codecov
Copy link

codecov bot commented Jul 29, 2020

Codecov Report

Merging #579 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #579   +/-   ##
=======================================
  Coverage   86.21%   86.21%           
=======================================
  Files         195      195           
  Lines       10608    10608           
=======================================
  Hits         9146     9146           
  Misses       1129     1129           
  Partials      333      333           
Flag Coverage Δ
#integration 71.09% <ø> (ø)
#unit 86.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cc0d817...bec99ca. Read the comment docs.

k8s/node/condition_memory_pressure: kubernetes.node_memory_pressure
k8s/node/condition_network_unavailable: kubernetes.node_network_unavailable
k8s/node/condition_out_of_disk: kubernetes.node_out_of_disk
k8s/node/condition_p_i_d_pressure: kubernetes.node_p_i_d_pressure
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird, is k8s/node/condition_p_i_d_pressure getting emitted? Should probably be k8s/node/condition_pid_pressure @asuresh4

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to handle this as the next PR with updating k8s cluster receiver to otel convention

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is likely an artifact of the helper that converts camelcase to snakecase.

@@ -119,14 +143,43 @@ translation_rules:

- action: copy_metrics
mapping:
cpu.idle: machine_cpu_cores
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is cpu.idle getting mapped to number cores? Isn't it converted in previous rule?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a step to prepare for computation of cpu.num_processors in the next rule

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me put a comment here

- Rename more k8s specific dimensions and metrics
- Use cpu.num_processors instead of machine_cpu_cores
- Compute memory.total
- Split system.memory.usage
@dmitryax dmitryax force-pushed the more-signalfx-exporter-translations branch from f913872 to bec99ca Compare July 29, 2020 20:03
@jrcamp jrcamp self-assigned this Jul 29, 2020
@bogdandrutu bogdandrutu merged commit be70db2 into open-telemetry:master Jul 29, 2020
ljmsc referenced this pull request in ljmsc/opentelemetry-collector-contrib Feb 21, 2022
* verify example.

* fix review comments.

* fix tools/go.*

* remove leftover exit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants