Created
February 27, 2020 21:54
-
-
Save boyney123/51cea57ad0e376890ccb8c8cbe508957 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add annotations in grafana | |
curl -X POST \ | |
https://{YOUR_URL}/api/annotations \ | |
-H "authorization: Bearer $GRAFANA_API_TOKEN" \ | |
-H 'content-type: application/json' \ | |
-d "{ | |
\"text\": \"Hello world!\", | |
\"tags\": [ \"deployment\", \"env:dev}\", \"application:my-application\", \"commit: commit-sha-example}\"] | |
}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment