Restricting metrics ingested through Telegraf plugin

Telegraf comes with the Dynatrace Output Plugin that enables you to easily send Telegraf metrics to Dynatrace:

Does someone know if it’s possible to configure/restrict the metrics being sent to Dynatrace?

The GitHub page has some more details and it seems it is not possible through the [[outputs.dynatrace]] configuration section: telegraf/plugins/outputs/dynatrace at master · influxdata/telegraf · GitHub

Any ideas?

Looking further at the Telegraf configuration, it seems it can be done with “namepass”.

Anyone managed to limit data ingestion by this or other way?

There are several ways of limiting the data ingestion, but it needs to be done on the Telegraf plugin side and not on Dynatrace. Telegraf supports a few different ways of filtering down the data, and namepass is indeed one of them. All of them, with examples, are documented here: telegraf/docs/CONFIGURATION.md at master · influxdata/telegraf · GitHub