e16637793d
Alerting: Add labels to name when converting data frame to series ( #28085 )
...
* also move conversion func to alerting package since it is not used in other places
Fixes #28068
2020-10-09 08:21:16 -04:00
c9a5d1ad4b
AzureMonitor: pass through null values instead of 0 ( #28126 )
...
fixes #28001
2020-10-09 08:15:19 -04:00
21fc3e702b
Cloudwatch: Adding support for additional Amazon CloudFront. ( #27891 ) ( #28069 )
...
* Cloudwatch: Adding support for additional Amazon CloudFront metrics.
2020-10-07 19:03:05 +02:00
9cd3ab0340
Cloudwatch: Adding support for Amazon ElastiCache Redis metrics. ( #28040 )
...
* Cloudwatch: Adding support for Amazon ElastiCache Redis metrics.
2020-10-06 19:52:02 +02:00
3606e282ba
CloudWatch: Add missing TransitGateway dimension ( #28061 )
...
Adding missing TransitGatewayAttachment dimension to the AWS/TransitGateway namespace.
2020-10-06 19:22:03 +02:00
0a2ef086b3
Chore: Convert CloudWatch metrics to data frames ( #27449 )
...
* CloudWatch: Convert metrics results to data frames
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: kay delaney <kay@grafana.com>
2020-10-06 13:45:58 +02:00
7c2999709c
Cloudwatch: Add support for AWS DirectConnect virtual interface metrics and add missing dimensions ( #28008 )
...
* Cloudwatch: Add support for AWS DirectConnect virtual interface metrics.
* Cloudwatch: Adding dimentions to the AWS/DX namespace for virtual network interface based DirectConnect.
2020-10-05 19:19:40 +03:00
7d7e727f22
Cloudwatch: Convert go convey tests to standard test library ( #28003 )
...
* Cloudwatch: Convert go convey tests to standard test library
* Fix tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-02 19:40:15 +02:00
a078e40238
Settings: Rename constants/variables to follow Go naming standards ( #28002 )
...
* settings: Rename constants/variables to follow Go naming standards
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-02 15:45:45 +02:00
adc1b965f3
PanelData: Adds annotations and QueryResultMeta dataTopic ( #27757 )
...
* topics round two
* more props
* remove Data from enum
* PanelData: Simplify ideas a bit to only focus on the addition of annotations in panel data
* Test data scenario
* Old graph panel showing annotations from PanelData
* Fixed comment
* Fixed issues trying to remove use of event.source
* Added unit test
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-09-24 21:01:31 +02:00
42476811a4
Cloudwatch: Fix loading custom credentials profile ( #27684 )
...
* Store credentials profile in JSON
* Update docs example
* Apply suggestions from code review
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-24 19:21:17 +03:00
4c7131425b
Revert "Elasticsearch: add frozen indices search support ( #27472 )" ( #27726 )
...
This reverts commit 61a3160c34f659be848d67a10bd9e0e5be6e1b58.
2020-09-23 12:24:46 +01:00
9e3def4214
Fix typos ( #27711 )
2020-09-22 11:00:59 -07:00
a5d9196a53
Chore/fix lint issues ( #27704 )
...
* Chore: Fix linting issues
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-22 16:22:19 +02:00
61a3160c34
Elasticsearch: add frozen indices search support ( #27472 )
...
* Elasticsearch: Add frozen indices support for alerting
2020-09-18 18:27:25 +01:00
e85b266f2e
Azure/Insights: Fix handling of none dimension values ( #27513 )
...
Properly handle legacy dimension values in the backend.
Fixes #27512
2020-09-10 18:21:56 +02:00
22d6cfc358
DataSource/CloudWatch: Adds metadata to grouped CW Logs dataframe ( #27454 )
2020-09-09 08:38:53 +01:00
6b0f56b726
InfluxDB: Alerting issue, reasonable defaults for interval and maxDataPoints ( #27463 )
2020-09-09 09:34:17 +02:00
9bab551d8b
AzureMonitor: change filterDimensions property to match what is stored ( #27459 )
...
Changes the dimensionsFilters property to dimensionsFilter in the Azure Monitor Datasource's AzureMonitor service to make what is sent to match the saved model.
Before this, the property that the backend was expecting was not available in the case of alerting, where the stored model is fetched.
This also fixes a panic when there is a dimension alias but no dimension
2020-09-08 15:12:08 -04:00
581d2eaaf4
Revert "Convert CloudWatch to use dataframes ( #26702 )" ( #27448 )
...
This reverts commit 776283985336a7d5f30b1d8070c90f22e46c4fbb.
2020-09-08 15:06:58 +02:00
7762839853
Convert CloudWatch to use dataframes ( #26702 )
...
* CloudWatch: Convert metrics queries to return data frames
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-08 13:35:17 +02:00
561920f18b
Cloud monitoring: fix missing title and text from cloud monitoring annotations ( #27187 )
...
* cloudmonitoring: fix empty title and text annotation
* cloudmonitoring: use metricQuery value
2020-09-08 13:18:41 +03:00
4b1eb6e5c7
Chore: Enable gocyclo linter ( #26395 )
...
* Chore: Enable gocyclo linter
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* API: Fix linting issue
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* API: Refactor to reduce complexity
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix type assertion
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-07 22:10:06 +02:00
ae385983f4
InfluxDB: support flux editor for template queries ( #27370 )
2020-09-03 14:11:39 -07:00
a8db544e85
Cloudwatch: Update list of AmazonMQ metrics and dimensions ( #27332 )
...
Update list of AmazonMQ metrics and Dimensions based on the current list
from the official AWS documentation.
Also, change InflightCount to InFlightCount.
2020-09-02 21:32:43 +02:00
0bc67b032a
InfluxDB: return a table rather than an error when timeseries is missing time ( #27320 )
2020-09-01 15:06:38 -07:00
06323b8e52
AzureMonitor: select plugin route from cloudname ( #27273 )
...
* AzureMonitor: select plugin route from cloudname
fixes #27243
2020-08-31 11:10:31 -04:00
c5a7afce44
Fix AWS action name ( #27205 )
...
The action name is `tag:GetResources`, not `tags:GetResources`. This creates a confusing error message that can have the user add the wrong permission to the IAM role.
2020-08-26 11:01:50 +02:00
cd9a773427
InfluxDB: use converters from SDK ( #27138 )
2020-08-24 13:19:32 -07:00
1778e9f034
Alerting: remove LongToWide call in alerting ( #27140 )
...
causing issues and currently as we use it, the query
should be requesting it as part of the query model via fromat as time series
fixes #27132
2020-08-24 10:05:52 -04:00
c207ea12a4
InfluxDB: Clean up tests ( #27135 )
...
* InfluxDB: Clean up tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* InfluxDB: Platform agnostic paths
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-21 18:34:21 +02:00
c724449d3d
AzureMonitor: fix panic introduced in 7.1.4 ( #27113 )
...
happens when unit was "Unspecified" and alias is being used
2020-08-21 11:37:30 -04:00
a2a6b9448f
InfluxDB: exclude result and table column from Flux table results ( #27081 )
2020-08-20 10:52:46 -07:00
660510084c
AzureAnalytics: Use fillmode Null with format as time series ( #27054 )
...
previously was using fillmode previous, which is not what we want here.
Also we do not have fill missing with this data source anyways
Fixes #27013
2020-08-19 10:42:54 -04:00
a1f90521a0
CloudWatch Logs: Move query response stats to appropriate FrameMeta property ( #26732 )
...
* CloudWatch Logs: Move query response stats to appropriate FrameMeta property
2020-08-19 15:18:04 +01:00
0e1e85656b
InfluxDB: Upgrade InfluxDB in devenv ( #26983 )
...
* InfluxDB: Upgrade InfluxDB in devenv
* InfluxDB: De-export symbols
* InfluxDB: Remove unused code
* devenv: Make InfluxDB version configurable
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-19 09:23:11 +02:00
a2fbffe48a
Server: Add health check route ( #26999 )
...
* Server: Add health check route
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Server: Remove health check middleware
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-18 14:58:08 +02:00
7896836deb
Chore: Reduce TSDB Go code complexity ( #26401 )
...
* tsdb: Make code less complex
2020-08-18 14:43:18 +02:00
be3bf80749
InfluxDB: Upgrade to latest InfluxDB Go client ( #27021 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-17 08:32:26 +02:00
50ebbb625e
InfluxDB: Upgrade Go client, use data source HTTP client ( #27012 )
...
* InfluxDB: Upgrade Go client, use data source HTTP client
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unnecessary Close
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-14 18:40:02 +02:00
f9f60c9193
AzureMonitor: map more units ( #26990 )
...
add BitsPerSecond and Seconds
2020-08-13 12:57:16 -04:00
c63bbbaec3
InfluxDB: Close Flux query results ( #26917 )
...
* InfluxDB: Drop ctxhttp usage
* InfluxDB: Clean up code
* InfluxDB: Close query results
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-13 17:50:53 +02:00
f432e153ca
Dataframe/Alerting: to tsdb.TimeSeriesSlice - accept "empty" time series ( #26903 )
...
this is in order to trigger no data when used with alerting.
fixes #26897 .
This is perhaps better solved in the SDK but that needs more thought and is tracked in grafana/grafana-plugin-sdk-go#214
2020-08-12 12:30:45 -04:00
b1ddbaa395
CloudWatch: Fix sorting of metrics results ( #26835 )
...
* CloudWatch: Fix sorting of metrics results
2020-08-07 11:48:40 +02:00
37c278c8f3
InfluxDB: Less chatty logging ( #26850 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-07 09:18:57 +02:00
62b103b843
Azuremonitor: do not set unit if literal "Unspecified" ( #26839 )
...
part of #26828
2020-08-06 16:03:25 -04:00
41f7bccb24
Cloud monitoring: do not create deep link if there are no timeseries ( #26737 )
2020-08-03 09:28:03 +03:00
a0c1e53fd0
Flux: Increase series limit for Flux queries ( #26746 )
2020-07-31 15:14:58 -07:00
ec756f3729
Flux: Ensure connections to InflxuDB are closed ( #26735 )
...
* Flux: Ensure connections to InflxuDB are closed
2020-07-31 23:11:51 +02:00
642e904048
Show FileSystemId as a dimension key ( #26662 )
...
FileSystemId can be used to filter by filesystem ID if needed. Right now it just returns blank
2020-07-29 09:35:07 +03:00