It's just YAML, so any library which parses and/or generates YAML should do.
In fact, some people just generate YAML with a plain text templating language (this is what Helm charts do). It's a bit ugly and brittle, but if all you're doing is appending some receivers to an alertmanager config, it would work fine. If you're worried that you may accidentally generate an invalid alertmanager config, you can run "amtool check-config" on your generated output to validate it. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/839d3e00-83b6-47b3-a032-3754ff69718dn%40googlegroups.com.

