Add Apache Kafka extension to Management zone(MZ)

Hi All,

I have configured a Apache Kafka extension and its collecting the data.
Now I want to add all entries related to this extension to my existing MZ so that I can filter metrics data in data explorer wrt to this MZ only.

Please guide.
Regards,
Guru Gogi

*all entities.

Hi,

I think you need to develop your own script using Dynatrace API.

Best regards

Hi @AntonPineiro ,

please can you explain more like which API and how to use it.

Hi @gurugogi 
In Dynatrace, there are APIs that can directly tell you the names of individual entities you want to add to a Management Zone (MZ).

The configuration might then look something like this.

{      “enabled”: true,      “type”: “SELECTOR”,      “entitySelector”: “type(QUEUE),toRelationships.indirectlySendsToQueue(type(SERVICE),tag(\”[Environment]DT_RELEASE_STAGE:{{ .stage }}\“))”    },
where you can use linking based on the tag level of the monitored services.

Hi,

I would say a combination of monitored entities to filter entities to management zone scope. And Extensions 2.0 for adding those to Kafka extension.

Best regards