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

OracleCloud MeterRegistry with raw data #779

Merged
merged 11 commits into from
Jan 26, 2024
Merged

Conversation

n0tl3ss
Copy link
Member

@n0tl3ss n0tl3ss commented Jan 25, 2024

This PR adds a new OracleCloud Meter registry that will provide more accuracy to the metrics. The old OracleCloud meter registry aggregates all data and publishes it to OracleCloud. Because of aggregation of the metrics the server side doesn't make any sense for aggregation.

Raw metrics are available for:

  • Counter
  • Timer
  • DistributionSummary

Other primitives like Gauge, FunctionCounter, FunctionTimer are only observed once before publishing metrics, so no raw data is available.

@n0tl3ss n0tl3ss marked this pull request as ready for review January 25, 2024 17:30
@n0tl3ss n0tl3ss changed the title Add raw metrics for Counter, Timer and DistributionSummary OracleCloud MeterRegistry with raw data Jan 26, 2024
Copy link
Member

@burtbeckwith burtbeckwith 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, minor changes

n0tl3ss and others added 4 commits January 26, 2024 17:25
…monitoring/micrometer/AbstractOracleCloudMeterRegistry.java

Co-authored-by: Burt Beckwith <[email protected]>
@n0tl3ss n0tl3ss requested a review from burtbeckwith January 26, 2024 16:40
Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

10 New issues
0 Security Hotspots
75.8% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

❌ Oracle Cloud CI 17 latest failed: https://ge.micronaut.io/s/2g3eyqu4aynea

@n0tl3ss n0tl3ss merged commit 021d925 into master Jan 26, 2024
20 checks passed
@n0tl3ss n0tl3ss deleted the micrometer-raw-metrics branch January 26, 2024 17:28
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.

3 participants