# README
Synthetic Monitoring API Go client
This is a Go client for the API used by Grafana's Synthetic Monitoring application.
For instructions about setting up Synthetic Monitoring in your Grafana Cloud instance, please visit our docs
API documentation
Please consult the documentation for the API that this library accesses.
# Functions
NewClient creates a new client for the Synthetic Monitoring API.
NewDatasourceClient creates a new client for the Synthetic Monitoring API using a Grafana datasource proxy.
ValidateResponse handles responses from the SM API.
# Variables
ErrAuthorizationTokenRequired is the error returned by client calls that require an authorization token.
ErrCannotEncodeJSONRequest is the error returned if it's not possible to encode the request as a JSON object.
ErrUnexpectedResponse is returned by client calls that get unexpected responses, for example some field that must not be zero is zero.