Closed OwainWin closed 2 years ago
Hi @OwainWin,
Thanks for adding all the details to this issue.
What the alert is showing under labels are the Entity Tags, but the metadata added by the custom attributes are not added as tags for the Win services entities. So this is expected behavior.
Please contact Support to submit a Feature Request on Alerts to add a metrics metadata section to the Alert incident.
We have noticed that incidents genertaed by the Windows Services Integration are not adding the hosts custom attributes as set in the New Relic Infrastructure yaml configuration file to the labels section of the alerts json payload. We can see these custom attributes and values being collected in the windows_service_state table under Date explorer/Metrics so know that they are being collected from the host. However they are not being added to the alert payload labels section as they are for other alerts that are generated. We use some of these custom attributes for the create and assignment of Jira tickets so current this process cannot work for Windows Service Integration calls.
I know that Windows Service Integration is in Beta so:
Thanks
Expected Behaviour
That all the host custom attributes as configured in the hosts Infrarsture ageny .yaml configuration file are passed to the labels section of the alerts JSON payload. See below for an example of an alert where this happening e.g. CPU usage metric alert where the hosts custom attributes are:
Actual Behaviour
The alert JSON payload for Windows Service Integation incidents is not adding the hosts custom atrributes to JSON payloads labels section even though these can be seens in windows_service_state table under Date explorer/Metrics. See below for an example of a Windows Service Integration where the hosts custom attributes are not added, this is from the same from host as the example above in Expected Behaviour and the following custom atrributes are missing: