-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[alerting][docs] document alert/action types, and JSON structures needed for HTTP APIs #94956
Comments
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
Are we sure we want to document all types? Might be worth focussing on Stack Rules & Connectors, rather than all 🤔 |
I'd think that by default they should all be documented - we could choose to not document some, but then it's just security by obscurity, since we ship the code ...
The alerting team would only do the Stack rules and connectors, solutions would need to doc their own presumably, and then I guess they could choose to not document ... |
I created some docs on APM and uptime alerts - I just scraped the schema-config from the code, so not great, but not horrible. At least this is the bare minimum of the kind of data we'd want to document. |
A customer noted that they didn't understand the complete flow of operations, so we should somehow doc that. Basically, that you need to create an action first, and then use it's id in the action section of the alert parameters to reference it. |
also see: #98456 which is asking for just the rule type ids - the params will be the next thing that users of the HTTP APIs will need ... |
I had assigned this to myself, as I wanted to see if I could take a crack at doing something, but ... it's hard. I'm going to unassign myself and add a discuss label, since I think there's some discussion-worthy items here>
In the mean time, we still occasionally get requests from users for this, but not a lot, so I think we can live for a little while longer handing out the data from this comment, or otherwise generating it ad hoc. |
A customer pointed out that our shiny new API docs are missing some important aspects - the rule/connector-type id's that are valid for use, and the JSON structures required for alert params, and action config/secrets/params.
We should get these added to the HTTP documents, but I'm not sure it's worth doing that if we do it manually, since I'd guess we'd forget to update them when they change (though hopefully they don't change much!) or forget to add the info for new alert/action types.
So I'd like to see if we could automate this, somehow.
The text was updated successfully, but these errors were encountered: