Skip to content

Conversation

@adinauer
Copy link
Member

@adinauer adinauer commented Dec 22, 2025

📜 Description

First API method for count Metrics. More overloads, gauge and distribution will be added in follow-up PRs.

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

Copy link
Member Author

adinauer commented Dec 22, 2025

@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

### Features

- [Trace Metrics 7] Metrics counter basic API ([#4986](https://github.com/getsentry/sentry-java/pull/4986))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.

Generated by 🚫 dangerJS against 5dba18b

@adinauer adinauer changed the title Metrics counter basic API feat(metrics): [Trace Metrics 7] Metrics counter basic API Dec 22, 2025
@github-actions
Copy link
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 346.57 ms 442.10 ms 95.53 ms
Size 1.58 MiB 2.13 MiB 559.41 KiB

@adinauer adinauer force-pushed the 12-18-metrics_counter_basic_api branch from c2ff229 to 5dba18b Compare December 22, 2025 13:41
@adinauer adinauer force-pushed the 12-18-wire_up_metrics_parts branch from 5f9d714 to 1df9f12 Compare December 22, 2025 13:41
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.

2 participants