Support for Dynatrace metrics API v2
See original GitHub issueDynatrace has released a new metric ingestion API much flexible than previous one. https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/post-ingest-metrics/
Ingestion flow has changed significantly:
- no need to preregister metrics
- metrics are not constrained to a custom device anymore
- more flexible naming conventions (eg. no
custom:
prefix) - payload type as line protocol
- possibility to ingest gauges and counters
Since there are quite changes and new api is still in EAP, I’d propose to create a new shinny meter registry, let’s say micrometer-registry-dynatrace2
and deprecate the first versionmicrometer-registry-dynatrace
so first version would be still available to be used to do not lose the history of the custom metrics registered with v1.
If is ok from your side, I’d try to contribute in this new registry in the upcoming days.
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (5 by maintainers)
Top Results From Across the Web
Metrics API v2 | Dynatrace Docs
The Metrics API is a flexible instrument for obtaining data. Learn how to use metric selector transformations to fine-tune the scope of data...
Read more >Metrics API - GET metric data points | Dynatrace Docs
Gets data points of the specified metrics. You can receive either one aggregated data point per tuple (unique combinations of metric—dimension—dimension ...
Read more >Metrics API - GET metrics | Dynatrace Docs
List all metrics available in your monitoring environment via Metrics v2 API.
Read more >Metrics API - Metric selector | Dynatrace Docs
The metric selector is a powerful instrument for specifying which metrics you want to read via the GET metric data points request or...
Read more >Metrics API examples - List all metrics | Dynatrace Docs
This example shows how to fetch the list of all metrics in the environment with essential metadata.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing this since the feature was merged: https://github.com/micrometer-metrics/micrometer/pull/2619 Thanks everyone for the contributions! 😃
@shakuzen, would you be the one to review the PR for this issue? Please let me know if there is anything that needs to be changed or anyone else to loop in.