# Functions
GetQuery returns a Query object given a backend.DataQuery using json.Unmarshal.
GetUserAgentString returns an agent that can be parsed in server logs.
No description provided by the author
NewSessionCache creates a new session cache using the default settings loaded from environment variables.
ReadAuthSettings gets the Grafana auth settings from the context if its available, the environment variables if not Deprecated: This function is only for backwards compatibility, generally ReadAuthSettingsFromContext should be used instead.
ReadAuthSettingsFromContext tries to get the auth settings from the GrafanaConfig in ctx, and returns true if it finds a config.
ReadAuthSettingsFromEnvironmentVariables gets the Grafana auth settings from the environment variables Deprecated: Use ReadAuthSettingsFromContext instead.
ReadSigV4Settings gets the SigV4 settings from the context if its available.
ShouldCacheQuery checks whether resp contains a running query, and returns false if it does.
No description provided by the author
# Constants
AllowedAuthProvidersEnvVarKeyName is the string literal for the aws allowed auth providers environment variable key name.
AssumeRoleEnabledEnvVarKeyName is the string literal for the aws assume role enabled environment variable key name.
No description provided by the author
No description provided by the author
cloud only.
No description provided by the author
No description provided by the author
CredentialsPath is the path to the shared credentials file in the instance for the aws/aws-sdk if empty string, the path is ~/.aws/credentials.
GrafanaAssumeRoleExternalIdKeyName is the string literal for the grafana assume role external id environment variable key name.
ListMetricsPageLimitKeyName is the string literal for the cloudwatch list metrics page limit key name.
ProfileName is the profile containing credentials for GrafanaAssumeRole auth type in the shared credentials file.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SessionDurationEnvVarKeyName is the string literal for the session duration variable key name.
SigV4AuthEnabledEnvVarKeyName is the string literal for the sigv4 auth enabled environment variable key name.
SigV4VerboseLoggingEnvVarKeyName is the string literal for the sigv4 verbose logging environment variable key name.
# Structs
No description provided by the author
No description provided by the author
AuthSettings stores the AWS settings from Grafana.
DatasourceSettings holds basic connection info.
No description provided by the author
No description provided by the author
SessionCache cache sessions for a while.
No description provided by the author
SigV4Settings stores the settings for SigV4 authentication.
# Interfaces
AsyncDB represents an async SQL connection.
AsyncDriver extends the driver interface to also connect to async SQL datasources.
# Type aliases
AmazonSessionProvider will return a session (perhaps cached) for given region and settings.
No description provided by the author
QueryStatus represents the status of an async query.