Comments (4)
Thanks again for the quick response, this was indeed all I needed to know to implement my use case. I will close the issue from my side.
from synthetic-monitoring-api-go-client.
Hi @kiview,
I wonder if using this library and the documented REST API is the right approach for automating the creation of checks as a Grafana Cloud user.
You can use this library or Grafana Terraform provider to manage checks and private probes. we recommend using Terraform provider if Terraform is already part of your tooling.
/install
call is used to get a synthetic monitoring api-token, and that token need to be passed for all the calls that require Authentication.
/install
should be called only once, and token can be saved somewhere safe, and reused for all the subsequent calls to other endpoints that require Authentication
Also, what is the reason to not use the Grafana API token directly for the authentication of the other endpoints?
we are working on making automation experience better.
I am getting Terraform provider added in docs so it's easy to discover :)
from synthetic-monitoring-api-go-client.
Thank you very much for the detailed answer @electron0zero.
I am unsure if we want to incorporate the Terraform provider atm, but the clarification of the token obtained by using the /install
endpoint was very helpful. Am I correct that the token provided by /install
has an unlimited lifetime?
from synthetic-monitoring-api-go-client.
Am I correct that the token provided by /install has an unlimited lifetime?
Yes, token obtained from /install
do not expire.
from synthetic-monitoring-api-go-client.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synthetic-monitoring-api-go-client.