dynatrace-azure-log-forwarder icon indicating copy to clipboard operation
dynatrace-azure-log-forwarder copied to clipboard

Allow to only send metrics as part of the log fowarder

Open clavaud opened this issue 1 year ago • 2 comments

New filter added to allow to only send metrics.

To avoid sending too much data to Dynatrace (DDU consumption) and be able to send only metrics from Azure, I've adapted the function to be able to only send metrics using the filter key 'only_metrics'.

The config is like :

  • filter.global.only_metrics=True/False
  • filter.resource_type.only_metrics.XXX=True/False
  • filter.resource_id.only_metrics.XXX=True/False

The implementation rely on the 'metricName' attribute found in the event log of Azure.

I hope it will help others

clavaud avatar Feb 03 '24 12:02 clavaud

CLA assistant check
All committers have signed the CLA.

dynatrace-cla-bot avatar Feb 03 '24 12:02 dynatrace-cla-bot

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Feb 09 '24 07:02 sonarqubecloud[bot]