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

Adding a Tag for CLOUD_APPLICATION_INSTANCE

dreeseLP
Frequent Guest

Hey Everyone,
Hope all is well.
I have gained some good experience in Tagging the Kubernetes environment but
I am having issues tagging CLOUD_APPLICATION_INSTANCE. 😞
I tried 

type(CLOUD_APPLICATION_INSTANCE),toRelationships.isClusterOfCai(type(KUBERNETES_CLUSTER),entityName.in("KUBERNETES_CLUSTER-"dt_name")

and 

type(CLOUD_APPLICATION_INSTANCE),fromRelationships.isNamespaceOfCai(entityId("CLOUD_APPLICATION_NAMESPACE-"dt_name"))
The error that I get is 

  • entitySelector Entity selector contains type which does not support automatically applied tags
    Can someone please give me some Dynatrace pointers?
    Thank you



2 REPLIES 2

ChadTurner
DynaMight Legend
DynaMight Legend

You'll want to use: type("Cloud_Application"), toRelationships.isClusterOfCa(type("KUBERNETES_CLUSTER"), entityName("<CLUSTER NAME>"))

You can then use that design for the namespace segment as well. 

-Chad

DanielS
DynaMight Guru
DynaMight Guru

Hi @dreeseLP you are not doing anything wrong and is not an error, as you can see in this post  auto-tags for type CLOUD_APPLICATION_INSTANCE is not supported due to performance implications.

The true delight is in the finding out rather than in the knowing.

Featured Posts