dynatrace-oss / dynatrace-azure-log-forwarder

This project provides a mechanism that allows streaming Azure logs from Azure Event Hub into Dynatrace Logs via Azure Function App. It supports both: Azure Resource Logs and Azure Activity Logs.
https://www.dynatrace.com/support/help/technology-support/cloud-platforms/microsoft-azure-services/set-up-log-forwarder-azure/
Apache License 2.0
21 stars 15 forks source link

Allow to only send metrics as part of the log fowarder #95

Open clavaud opened 9 months ago

clavaud commented 9 months ago

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 :

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

I hope it will help others

dynatrace-cla-bot commented 9 months ago

CLA assistant check
All committers have signed the CLA.

sonarcloud[bot] commented 8 months ago

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