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

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

clavaud
Copy link

@clavaud clavaud commented Feb 3, 2024

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

- filter.global.only_metrics=True/False
- filter.resource_type.only_metrics.XXX=True/False
- filter.resource_id.only_metrics.XXX=True/False
@dynatrace-cla-bot
Copy link
Member

dynatrace-cla-bot commented Feb 3, 2024

CLA assistant check
All committers have signed the CLA.

Pclouds 3653 azure log forwarder gzip compression when sending to dt …
Copy link

sonarcloud bot commented Feb 9, 2024

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

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