Using CQL, you can reference the variable tag
to match an entity tag (x-cortex-tag
) in a dynamic scorecard rule. For example, if you're trying to confirm that a key in a key:value pair in custom data matches an entity tag:
custom("my-key") = tag
You can also access the service yaml with entity_descriptor
, such as entity_descriptor.info.{{x-cortex-tag}}
.
Comments
0 comments
Article is closed for comments.