azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Prometheus essential field are missing

Open dirkvdplas opened this issue 1 year ago • 1 comments

[Enter feedback here]

Unfortunately for Prometheus alerts only the alert context data fields are shown. Can you provide a complete example with all fields, so including the essentials data fields?

Best Regards, Dirk


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

dirkvdplas avatar Mar 22 '24 15:03 dirkvdplas

@dirkvdplas Thanks for your feedback! We will investigate and update as appropriate.

Naveenommi-MSFT avatar Mar 22 '24 17:03 Naveenommi-MSFT

@dirkvdplas, thank you for posting this issue.

Please note that the article is about common alert schema. In this, article the Structure of the common schema talks about the 3 sections in which the information about the affected resource and other details are included.

All alerts include "Essential" and "Alert context" sections. The "Alert Context" varies based on the type of alert hence the document covers sample for that - as also available for Alert context fields for Prometheus alerts

Apart from this, the "Essential" section includes standardized fields, used by all alert types that describe the resource affected by the alert and common alert metadata, such as severity or description. For more details, see Sample alert payload and Essentials fields

Therefore, to get a complete idea of all the fields available for a specific type of alert, you may combine the standard "Essential" and specific "Alert context" section - as available in the referenced doc.

Hope this helps.

AnuragSingh-MSFT avatar Mar 26 '24 07:03 AnuragSingh-MSFT

@dirkvdplas, We will now proceed to close this thread as we have not heard back from you. If there are further questions regarding this matter, please tag me in your reply and reopen the issue. We will gladly continue the discussion.

AnuragSingh-MSFT avatar Mar 27 '24 06:03 AnuragSingh-MSFT

The essential field documentation for prometheus s still missing completely. It took me hours to find it. And that's why I opened this issue. My request is to document the following somewhere on the page. 'monitoringService': 'Prometheus',

dirkvdplas avatar Mar 27 '24 09:03 dirkvdplas

@dirkvdplas thank you for the additional details.

@AbbyMSFT, could you please review this feedback and share your thoughts. Thank you

AnuragSingh-MSFT avatar Mar 29 '24 04:03 AnuragSingh-MSFT

Hi @dirkvdplas - Prometheus rules are documented separately from the native alert rules. Does this article help? https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/prometheus-rule-groups

Let me know, Abby

AbbyMSFT avatar Apr 01 '24 12:04 AbbyMSFT

Hi. @dirkvdplas, I haven't heard back from you since I last responded. I am going to go ahead and close this issue. We appreciate your feedback, and have scheduled a discussion about if and how to align Prometheus alerts with the rest of the alerting documentation. Please feel free to reach out with any other concerns. Abby #please-close

AbbyMSFT avatar Apr 09 '24 12:04 AbbyMSFT