Skip to content
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 2 Sidecar actions to register and push metrics #365

Merged
merged 7 commits into from
Mar 26, 2024
Merged

Conversation

iamluc
Copy link
Contributor

@iamluc iamluc commented Mar 19, 2024

What does this PR do?

This PR adds 2 Sidecar actions:

  • RegisterTelemetryMetric: Register a new Telemetry metric
  • AddTelemetryMetricPoint: Send a Telemetry metric point

Motivation

This is required for the clients to send telemetry metrics (https://datadoghq.atlassian.net/browse/AIT-4125)

Additional Notes

This is my first PR on libdatadog, and also the first time I write Rust code 😄

How to test the change?

This is tested by a test in a dd-trace-php PR (DataDog/dd-trace-php#2577)

For Reviewers

  • If this PR touches code that signs or publishes builds or packages, or handles credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Copy link
Contributor

@bwoebi bwoebi left a comment

Choose a reason for hiding this comment

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

Looks good to me :-)

@bwoebi bwoebi merged commit 1d1c247 into main Mar 26, 2024
19 of 20 checks passed
@bwoebi bwoebi deleted the lv/tracer-telemetry branch March 26, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants