Giter VIP home page Giter VIP logo

Comments (4)

kiview avatar kiview commented on June 12, 2024 1

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.

electron0zero avatar electron0zero commented on June 12, 2024

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.

kiview avatar kiview commented on June 12, 2024

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.

electron0zero avatar electron0zero commented on June 12, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.