Is there any way with Datadog to build an automatic dashboard if a metric is sent for the first time? Let's say I send a metric with a value and a "path" like dashboard_name.some_group.metric_value
for the first time. Datadog "checks" if there is already an existent dashboard_name
. If not builds it. Then it checks if inside the dashboard there is a widget called some_group
. If not builds it. Then check if there is a metric widget (for example using Timeseries widget). If not builds it.
I don't think Datadog has this capability built-in.
I've seen people create service-level automations that create a dashboard for their service, and then build that into their Continuous Delivery lifecycle, using the Dashboards API either directly or via a client SDK like this Python one
There's also providers for Terraform or Pulumi that could help here.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.