cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ingested metrics to include in the management zone

Babar_Qayyum
DynaMight Guru
DynaMight Guru

Dear All,

How can I incorporate the ingested metric into the management zone? I have attempted the following method, but it did not work.

Babar_Qayyum_0-1759404743046.png

Regards

Babar

7 REPLIES 7

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Are ingested metrics in relation to some entity?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

t_pawlak
Pro

Management zones in Dynatrace work based on entities and their properties/tags, not directly on metric keys. The condition you tried 

(METRIC_KEY begins with 'abc')

won’t work for ingested metrics, because metric keys themselves are not an entity property that management zones can evaluate.
You can try link this metric to an entity.
f your ingested metric includes dimensions like dt.entity.host, dt.entity.service, or k8s.namespace.name, you can build a management zone based on those entity dimensions.
Example: include all entities where k8s.namespace.name = easytrade.

Hello @t_pawlak 

There are no dimensions as you have indicated.

Regards,

Babar Qayyum

Hi @Babar_Qayyum 
just to clarify — when I mentioned dt.entity.host, dt.entity.service, etc., those were only examples of possible entity bindings. The important part is that an ingested metric must be tied to some Dynatrace entity if you want to scope it in a management zone.

For example, if you want to attach your metric to a host, you can send it like this:

server.cpu.temperature,dt.entity.host=HOST-2A3DEDFXXXXXXXX,cpu.id=0 42


Here:

server.cpu.temperature = your metric name

dt.entity.host=HOST-2A3DEDFXXXXXXX = binding the metric to a specific host entity

cpu.id=0 = a custom dimension you’ve added

42 = the metric value

Hello @t_pawlak 

Thank you once more for your feedback. The subsequent information is functioning well for us.

Babar_Qayyum_0-1760329718743.png

Regards,

Babar Qayyum

PierreGutierrez
Dynatrace Champion
Dynatrace Champion

Hello @Babar_Qayyum 
Associating a metric with a Management Zone is a bit confusing, as it's not technically possible.

A metric can be associated with an entity.
The entity has properties/tags.
The Management Zone uses properties/tags, among other things, to identify the entities that are part of a Management Zone.

With that detail, the entity is part of a Management Zone.

Perhaps your question is about policies and permissions.

so, you can create a Grail-based policy and restrict access to certain information and metrics if needed.

If you provide more details about your needs, we can help you. 💪

Pierre Gutierrez - LATAM ACE Consultant - Loving Cats! Loving Technology !

Hello @PierreGutierrez 

I appreciate your feedback. As we are utilizing the classic/managed setup, we are unable to take advantage of the benefits of Grail that you mentioned.

Regards,

Babar Qayyum

Featured Posts