package
0.0.0-20201006080941-34a2968f5281
Repository: https://github.com/fenrislol/grafana.git
Documentation: pkg.go.dev

# Functions

InsightsMetricsResultToFrame converts a MetricsResult (an Application Insights metrics query response) to a dataframe.
KqlInterpolate interpolates macros for Kusto Query Language (KQL) queries.
LogTableToFrame converts an AzureLogAnalyticsTable to a data.Frame.
NewAzureMonitorExecutor initializes a http client.

# Structs

ApplicationInsightsDatasource calls the application insights query API.
ApplicationInsightsQuery is the model that holds the information needed to make a metrics query to Application Insights, and the information used to parse the response.
ApplicationInsightsQueryResponse is the json response from the Application Insights API.
AzureLogAnalyticsDatasource calls the Azure Log Analytics API's.
AzureLogAnalyticsQuery is the query request that is built from the saved values for from the UI.
AzureLogAnalyticsResponse is the json response object from the Azure Log Analytics API.
AzureLogAnalyticsTable is the table format for Log Analytics responses.
AzureMonitorDatasource calls the Azure Monitor API - one of the four API's supported.
AzureMonitorExecutor executes queries for the Azure Monitor datasource - all four services.
AzureMonitorQuery is the query for all the services as they have similar queries with a url, a querystring and an alias field.
AzureMonitorResponse is the json response from the Azure Monitor API.
No description provided by the author
No description provided by the author
LogAnalyticsMeta is a type for the a Frame's Meta's Custom property.
MetricsResult a metric result.
MetricsResultInfo a metric result data.
MetricsSegmentInfo is a metric segment.
TimeGrain handles conversions between the ISO 8601 Duration format (PT1H), Kbn units (1h) and Time Grains (1 hour) Also handles using the automatic Grafana interval to calculate a ISO 8601 Duration.

# Type aliases

InsightsDimensions will unmarshal from a JSON string, or an array of strings, into a string array.