You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for working on this SDK! I am quite a novice when it comes to Python (and to working with REST APIs), and am having a hard time producing the simplest example for creating a new alert rule with this SDK (for what it's worth, I did manage to create a Dashboard using a JSON template).
I suppose that I am feeding the wrong kind of data/template to the function:
Which throws the error message: AttributeError: 'str' object has no attribute 'starts_at'
The JSON template I am trying I got from the Grafana API overview in the Swagger Editor ... I have added the "starts_at" record to the JSON, but no luck.
Thank you for your help in advance, kind regards,
Gyuszi
EDIT: I should be using "alerting_provisioning", not just alerting, sorry about that.
The text was updated successfully, but these errors were encountered:
First of all, thank you for working on this SDK! I am quite a novice when it comes to Python (and to working with REST APIs), and am having a hard time producing the simplest example for creating a new alert rule with this SDK (for what it's worth, I did manage to create a Dashboard using a JSON template).
I suppose that I am feeding the wrong kind of data/template to the function:
Which throws the error message: AttributeError: 'str' object has no attribute 'starts_at'
The JSON template I am trying I got from the Grafana API overview in the Swagger Editor ... I have added the "starts_at" record to the JSON, but no luck.
Thank you for your help in advance, kind regards,
Gyuszi
EDIT: I should be using "alerting_provisioning", not just alerting, sorry about that.
The text was updated successfully, but these errors were encountered: