1. Create API Key
Click Configuration > API Keys
Click +New API Key
Add API Key name
Click Add
2. Get Url
Click on the name of graph > share
Copy the url of "Direct link rendered image".
3. Excute export command
Execute the command with the API Key you got when you created the API Keys.
curl -s -k -H "Authorization: Bearer <API Key>" "http://localhost:3000/render/d-solo/000000005/monitor?refresh=5s&orgId=1&panelId=1&from=1561524840788&to=1561526640788&width=1000&height=500" > dashboard.png
'Etc' 카테고리의 다른 글
Grafana API - export grafana dashboard to PNG (0) | 2019.06.26 |
---|---|
[SSH] no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 (0) | 2017.05.26 |
Chrome(크롬)을 이용하여 각 디바이스 사이즈 별 테스트 하기 (0) | 2015.12.30 |
IE 개발자 콘솔 오류 메시지 (0) | 2015.12.30 |
postman parameter에 array를 넘겨보자 (0) | 2015.12.30 |
[Facebook] 페이스북 연결된 앱 삭제 (0) | 2015.12.30 |
댓글을 달아 주세요