Plugins 〉JSON
JSON
JSON API Grafana Datasource
The JSON Datasource executes requests against arbitrary backends and parses JSON response into Grafana dataframes.
Installation
To install this plugin using the grafana-cli
tool:
grafana-cli plugins install simpod-json-datasource
See here for more information.
Setup
When adding datasource add your API endpoint to the URL
field. That's where datasource will make requests to.
If you want to add custom headers, keep Access set to Server
.
API
An OpenAPI definition is at openapi.yaml. You can explore it using Swagger Editor.
To work with this datasource the backend needs to implement 4 endpoints:
GET /
with 200 status code response. Used for "Test connection" on the datasource config page.POST /metrics
to return available metrics.POST /metric-payload-options
to return a list of metric payload options.POST /query
to return panel data or annotations.
Those 3 endpoints are optional:
POST /variable
to return data for Variable of typeQuery
.POST /tag-keys
returning tag keys for ad hoc filters.POST /tag-values
returning tag values for ad hoc filters.
/metrics
POST /metrics
In Panel > Queries
page. When configuring a query request using Builder
mode, it will send the request to obtain the available metrics. The request body will carry the current metric and payload. In the Builder
mode, if the reloadMetric
value in the load configuration is true, the api will also be triggered when the value is modified / switched.
Example request:
{}
Or.
{
"metric": "DescribeMetricList",
"payload":{
"cloud": "cf6591c5dad211eaa22100163e120f6e",
"namespace": "MySQL"
}
}
Example response:
[{
"label": "Describe metric list", // Optional. If the value is empty, use the value as the label
"value": "DescribeMetricList", // The value of the option.
"payloads": [{ // Configuration parameters of the payload.
"label": "Namespace", // The label of the payload. If the value is empty, use the name as the label.
"name": "namespace", // The name of the payload.
"type": "select", // If the value is select, the UI of the payload is a radio box. If the value is multi-select, the UI of the payload is a multi selection box; if the value is input, the UI of the payload is an input box; if the value is textarea, the UI of the payload is a multiline input box. The default is input.
"placeholder": "Please select namespace", // Input box / selection box prompt information.
"reloadMetric": true, // Whether to overload the metrics API after modifying the value of the payload.
"width": 10, // Set the input / selection box width to a multiple of 8px.
"options": [{ // If the payload type is select / multi-select, the list is the configuration of the option list.
"label": "acs_mongodb", // The label of the payload select option.
"value": "acs_mongodb", // The label of the payload value.
},{
"label": "acs_rds",
"value": "acs_rds",
}]
},{
"name": "metric",
"type": "select"
},{
"name": "instanceId",
"type": "select"
}]
},{
"value": "DescribeMetricLast",
"payloads": [{
"name": "namespace",
"type": "select"
},{
"name": "metric",
"type": "select"
},{
"name": "instanceId",
"type": "multi-select"
}]
}]
The display is as follows:
/metric-payload-options
POST /metric-payload-options
When the payload type
is select
or multi-select
and the payload options
configuration is empty, expanding the drop-down menu will trigger this API. The request body will carry the current metric and payload.
Example Request:
{
"metric":"DescribeMetricList", // Current metric.
"payload": { // Current payload.
"namespace":"acs_ecs"
},
"name":"cms_metric" // The payload name of the option list needs to be obtained.
}
Example Response:
[{
"label": "CPUUtilization",
"value": "CPUUtilization"
},{
"label": "DiskReadIOPS",
"value": "DiskReadIOPS"
},{
"label": "memory_freeutilization",
"value": "memory_freeutilization"
}]
The display is as follows:
/query
POST /query
Example request:
{
"panelId": 1,
"range": {
"from": "2016-10-31T06:33:44.866Z",
"to": "2016-10-31T12:33:44.866Z",
"raw": {
"from": "now-6h",
"to": "now"
}
},
"rangeRaw": {
"from": "now-6h",
"to": "now"
},
"interval": "30s",
"intervalMs": 30000,
"maxDataPoints": 550,
"targets": [
{ "target": "Packets", "refId": "A", "payload": { "additional": "optional json" } },
{ "target": "Errors", "refId": "B" }
],
"filters": [{
"key": "City",
"operator": "=",
"value": "Berlin"
}]
}
Response body can contain anything that is or can be converted to a Grafana DataFrame using this function. Returned data will be mapped to a DataFrame through that.
Example response (metric value as a float , unix timestamp in milliseconds):
[
{
"target":"pps in",
"datapoints":[
[622,1450754160000],
[365,1450754220000]
]
},
{
"target":"pps out",
"datapoints":[
[861,1450754160000],
[767,1450754220000]
]
},
{
"target":"errors out",
"datapoints":[
[861,1450754160000],
[767,1450754220000]
]
},
{
"target":"errors in",
"datapoints":[
[861,1450754160000],
[767,1450754220000]
]
}
]
[
{
"columns":[
{"text":"Time","type":"time"},
{"text":"Country","type":"string"},
{"text":"Number","type":"number"}
],
"rows":[
[1234567,"SE",123],
[1234567,"DE",231],
[1234567,"US",321]
],
"type":"table"
}
]
The relation between target
in request and response is 1:n. You can return multiple targets in response for one requested target
.
Payload
Sending additional data for each metric is supported via the Payload
input field that allows you to enter any JSON string.
For example, when { "additional": "optional json" }
is entered into Payload
input, it is attached to the target data under "payload"
key:
{ "target": "upper_50", "refId": "A", "payload": { "additional": "optional json" } }
You can also enter variables:
/variable
POST /variable
Example request body:
{
"payload":{"target":"systems"},
"range":{
"from":"2022-02-14T08:09:32.164Z",
"to":"2022-02-21T08:09:32.164Z",
"raw":{"from":"now-7d","to":"now"}
}
}
"payload"
is value from your input in Variable edit form.
Example response
[
{"__text":"Label 1", "__value":"Value1"},
{"__text":"Label 2", "__value":"Value2"},
{"__text":"Label 3", "__value":"Value3"}
]
DataFrame is also supported.
/tag-keys
POST /tag-keys
Example request body
{ }
The tag keys api returns:
[
{"type":"string","text":"City"},
{"type":"string","text":"Country"}
]
/tag-values
POST /tag-values
Example request body
{"key": "City"}
The tag values api returns:
[
{"text": "Eins!"},
{"text": "Zwei"},
{"text": "Drei!"}
]
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
.h4 . .mb-0 }
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Grafana Cloud Free
- Free tier: Limited to 3 users
- Paid plans: $55 / user / month above included usage
- Access to all Enterprise Plugins
- Fully managed service (not available to self-manage)
Self-hosted Grafana Enterprise
- Access to all Enterprise plugins
- All Grafana Enterprise features
- Self-manage on your own infrastructure
Installing JSON on Grafana Cloud:
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
Installing plugins on a Grafana Cloud instance is a one-click install; same with updates. Cool, right?
Note that it could take up to 1 minute to see the plugin show up in your Grafana.
For more information, visit the docs on plugin installation.
Installing on a local Grafana:
For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.
1. Install the Data Source
Use the grafana-cli tool to install JSON from the commandline:
grafana-cli plugins install
The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.
Alternatively, you can manually download the .zip file for your architecture below and unpack it into your grafana plugins directory.
Alternatively, you can manually download the .zip file and unpack it into your grafana plugins directory.
2. Configure the Data Source
Accessed from the Grafana main menu, newly installed data sources can be added immediately within the Data Sources section.
Next, click the Add data source button in the upper right. The data source will be available for selection in the Type select box.
To see a list of installed data sources, click the Plugins item in the main menu. Both core data sources and installed data sources will appear.
Changelog
v0.6.6
What's Changed
- chore(deps): update grafana packages to v2 (major) by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/623
- chore(deps): update dependency sass-loader to v16 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/613
- chore(deps): update yarn to v4.5.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/634
- chore(deps): bump dompurify from 3.0.11 to 3.1.6 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/635
- chore(deps): bump path-to-regexp from 1.8.0 to 1.9.0 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/632
- chore(deps): update dependency ts-pattern to ^5.4.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/636
- chore(deps): update grafana packages to ^11.2.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/638
- chore(deps): update grafana packages to ^11.2.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/639
- chore(deps): update dependency @grafana/experimental to ^2.1.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/640
- chore(deps): update dependency @grafana/experimental to ^2.1.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/641
- chore(deps): update dependency ts-pattern to ^5.5.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/643
- chore(deps): update dependency eslint-plugin-react-hooks to v5 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/642
- chore(deps): update dependency @emotion/css to ^11.13.4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/607
- chore(deps): bump @testing-library/* by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/644
- chore(deps): update dependency tslib to ^2.8.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/645
- chore(deps): update yarn to v4.5.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/647
- chore(deps): update dependency tslib to ^2.8.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/650
- chore(deps): update emotion monorepo by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/652
- chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/651
- chore(deps): update node.js to v22 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/649
- chore(deps): update yarn to v4.5.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/653
- chore(deps): update yarn to v4.5.3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/654
- chore(deps): update dependency zod to ^3.24.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/656
- chore(deps): update dependency zod to ^3.24.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/659
- chore(deps): update dependency ts-pattern to ^5.6.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/661
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.25 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/662
- chore(deps): bump nanoid from 3.3.7 to 3.3.8 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/657
- chore(deps): update grafana packages to ^11.4.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/648
- docs: update changelog by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/663
- feat: pass user id in req headers by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/664
Full Changelog: https://github.com/simPod/GrafanaJsonDatasource/compare/v0.6.5...0.6.6
v0.6.5
What's Changed
- chore(deps): update grafana packages to v11 (major) by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/565
- chore: adapt jest and webpack setup to current grafana recommended by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/596
- feat: use filterQuery function for filtering hidden targets by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/597
- refactor: use GrafanaTheme2 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/599
- fix(query-builder): ensure the
name
is present in MetricPayloadConfig by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/600 - fix(query-builder): show unknown payload only after the lastQuery changes by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/601
- fix(query-builder): passthrough MetricPayloadConfig by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/602
- fix(query-builder): use MetricPayloadConfig's name if label is not present by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/603
- chore(deps): update dependency glob to v11 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/604
- chore(deps): update dependency @grafana/experimental to ^1.7.13 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/609
- chore(deps): update grafana packages to ^11.1.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/610
- chore(deps): update grafana packages to ^11.1.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/611
- chore(deps): update grafana packages to ^11.1.3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/612
- chore(deps): update yarn to v4.4.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/616
- chore(deps): update dependency @grafana/experimental to ^1.8.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/619
- chore(deps): update dependency ts-pattern to ^5.3.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/620
- chore(deps): update grafana packages to ^11.1.4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/621
- chore(deps): update dependency tslib to ^2.7.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/624
- chore(deps): update yarn to v4.4.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/626
- chore(deps): update grafana packages to ^11.2.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/627
- chore(deps): update dependency webpack to v5.94.0 [security] by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/629
- chore(deps): bump micromatch from 4.0.5 to 4.0.8 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/625
- chore(deps): update dependency eslint-plugin-jsdoc to v50 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/618
- fix: require Grafana v10+ by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/631
Full Changelog: https://github.com/simPod/GrafanaJsonDatasource/compare/v0.6.4...v0.6.5
v0.6.4
What's Changed
- chore(deps): update actions/setup-go action to v4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/458
- chore(deps): update grafana packages to ^9.5.5 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/459
- chore(deps): update dependency tslib to ^2.6.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/460
- chore(deps): update dependency @grafana/experimental to ^1.6.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/461
- chore(deps): update yarn to v3.6.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/462
- chore(deps): update grafana packages to ^9.5.6 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/467
- chore(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/466
- chore(deps): update dependency prettier to v3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/463
- chore(deps): update dependency @typescript-eslint/eslint-plugin to v6 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/465
- chore(deps): update grafana packages to v10 (major) by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/443
- chore(deps): update dependency ts-pattern to ^5.0.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/469
- chore(deps): update dependency ts-pattern to ^5.0.3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/470
- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/472
- chore(deps): update dependency @grafana/experimental to ^1.6.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/473
- chore(deps): update dependency ts-pattern to ^5.0.4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/474
- chore(deps): update dependency @grafana/experimental to ^1.6.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/475
- chore(deps): update dependency tslib to ^2.6.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/476
- chore(deps): update grafana packages to ^10.0.3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/477
- chore(deps): update dependency @grafana/experimental to ^1.7.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/479
- chore(deps): update dependency ts-pattern to ^5.0.5 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/480
- chore(deps): update yarn to v3.6.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/483
- chore(deps): update dependency tslib to ^2.6.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/484
- chore(deps): update grafana packages to ^10.1.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/485
- chore(deps): update yarn to v3.6.3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/486
- chore(deps): update dependency @testing-library/jest-dom to v6 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/482
- chore(deps): update grafana packages to ^10.1.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/488
- chore(deps): update actions/checkout action to v4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/489
- chore(deps): update dependency @grafana/experimental to ^1.7.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/491
- chore(deps): update grafana packages to ^10.1.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/492
- chore(deps): bump @adobe/css-tools from 4.1.0 to 4.3.1 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/487
- chore(deps): update magefile/mage-action action to v3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/490
- chore(deps): update actions/checkout digest to 8ade135 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/493
- chore(deps): update dependency @grafana/experimental to ^1.7.3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/495
- chore(deps): update actions/checkout action to v4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/494
- chore(deps): update grafana packages to ^10.1.4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/496
- chore(deps): update yarn to v3.6.4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/497
- chore(deps): update dependency fork-ts-checker-webpack-plugin to v9 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/499
- chore(deps): update grafana packages to ^10.1.5 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/500
- chore(deps): update dependency @grafana/experimental to ^1.7.4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/501
- chore(deps): bump postcss from 8.4.24 to 8.4.31 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/498
- chore(deps): bump @babel/traverse from 7.22.5 to 7.23.2 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/502
- chore(deps): update actions/setup-node action to v4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/505
- chore(deps): update dependency node to v20 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/506
- chore(deps): update yarn to v4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/503
- chore(deps): update grafana packages to ^10.2.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/507
- chore(deps): update yarn to v4.0.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/508
- ci: run grafana compatibility check on master branches by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/510
- feat: use yarn pnp by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/511
- chore(deps): update grafana packages to ^10.2.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/509
- chore(deps): update yarn to v4.0.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/513
- chore(deps): update grafana packages to ^10.2.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/514
- chore(deps): update grafana packages to ^10.2.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/515
- chore(deps): update dependency ts-pattern to ^5.0.6 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/517
- chore(deps): update actions/setup-go action to v5 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/518
- chore(deps): update actions/stale action to v9 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/519
- chore(deps): update grafana packages to ^10.2.3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/520
- chore(deps): update dependency eslint-plugin-jsdoc to v47 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/521
- chore(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/516
- chore(deps): update dependency eslint-plugin-jsdoc to v48 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/522
- chore(deps): update dependency @grafana/experimental to ^1.7.5 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/525
- chore(deps): update dependency copy-webpack-plugin to v12 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/527
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.21 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/530
- chore(deps): update dependency @grafana/experimental to ^1.7.6 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/531
- chore(deps): update dependency sass-loader to v14 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/529
- chore(deps): update grafana packages to ^10.3.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/532
- chore(deps): update dependency @grafana/experimental to ^1.7.7 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/533
- chore(deps): update dependency @grafana/experimental to ^1.7.8 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/534
- chore(deps): update yarn to v4.1.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/535
- chore(deps): update dependency @grafana/experimental to ^1.7.9 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/536
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.22 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/537
- chore(deps): update dependency @grafana/experimental to ^1.7.10 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/538
- chore(deps): update grafana packages to ^10.3.3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/540
- chore(deps): update dependency ts-pattern to ^5.0.8 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/541
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.23 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/543
- chore(deps): update yarn to v4.1.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/544
- chore(deps): update dependency @typescript-eslint/eslint-plugin to v7 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/539
- chore(deps): bump ip from 1.1.5 to 1.1.9 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/542
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.24 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/546
- chore(deps): update dependency ts-pattern to ^5.1.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/548
- chore(deps): update softprops/action-gh-release action to v2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/547
- chore(deps): update dependency @grafana/eslint-config to v7 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/526
- chore(deps): update grafana packages to ^10.4.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/545
- chore(deps): update dependency @grafana/schema to ^10.4.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/549
- chore(deps): update dependency css-loader to v7 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/551
- chore(deps): update dependency ts-pattern to ^5.1.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/553
- chore(deps): update grafana packages to ^10.4.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/557
- chore(deps): update react monorepo to ^18.3.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/559
- chore(deps): update react monorepo to ^18.3.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/560
- chore(deps): update yarn to v4.2.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/561
- chore(deps): update yarn to v4.2.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/562
- chore(deps): update grafana packages by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/564
- chore(deps): update dependency ts-pattern to ^5.1.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/566
- chore(deps): update dependency tslib to ^2.6.3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/568
- chore(deps): update dependency eslint-plugin-deprecation to v3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/567
- chore(deps): update yarn to v4.3.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/570
- chore(deps): bump braces from 3.0.2 to 3.0.3 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/571
- chore(deps): bump tar from 6.1.11 to 6.2.1 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/556
- chore(deps): update dependency style-loader to v4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/554
- chore(deps): update dependency ts-pattern to ^5.2.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/572
- chore(deps): update dependency @grafana/experimental to ^1.7.12 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/573
- chore(deps): update grafana packages to ^10.4.4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/574
- chore(deps): update yarn to v4.3.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/577
- chore(deps): update grafana packages to ^10.4.5 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/578
- fix:when target is hide, not request with it by @monster5475 in https://github.com/simPod/GrafanaJsonDatasource/pull/579
- chore(deps): bump ws from 8.13.0 to 8.17.1 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/576
- feat: replace LegacyForms.FormField with Field by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/580
- fix: add margin to Experimental label by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/581
- refactor: migrate from Vector interface by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/582
- refactor: use DataQuery from @grafana/schema by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/583
- fix: remove nonexistent
rangeRaw
property from/variable
query by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/584 - test: remove nonexistent
selected
property by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/585 - fix: remove nonexistent type arg by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/586
- refactor: extract doFetch by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/587
- refactor: handle undefined variable properly by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/588
- test: add missing refId by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/589
- feat: remove adhocFilters property from request by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/590
- feat: use VariableSupport by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/591
- test: import TemplateSrv from @grafana/runtime by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/592
- test: remove unused updateTemplateData method by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/593
- chore(deps): require @testing-library/dom by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/594
- chore(deps): update dependency @testing-library/react to v16 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/558
- chore(deps): remove @types/testing-library__jest-dom by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/595
New Contributors
- @monster5475 made their first contribution in https://github.com/simPod/GrafanaJsonDatasource/pull/579
Full Changelog: https://github.com/simPod/GrafanaJsonDatasource/compare/v0.6.3...v0.6.4
v0.6.3
What's Changed
- chore(deps): update yarn to v3.5.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/398
- chore(deps): update actions/stale action to v8 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/399
- chore(deps): update dependency ts-pattern to ^4.2.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/400
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.8 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/401
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.9 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/402
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.11 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/404
- chore(deps): update actions/setup-go action to v4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/397
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.12 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/405
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.13 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/406
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.14 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/407
- chore(deps): update dependency eslint-plugin-jsdoc to v41 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/408
- chore(deps): bump webpack from 5.73.0 to 5.79.0 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/409
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.15 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/411
- chore(deps): update dependency eslint-plugin-jsdoc to v43 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/413
- chore(deps): bump grafana to v9.5 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/416
- chore(deps): update yarn to v3.5.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/417
- feat: set alerting and backend properties to false by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/419
- chore(deps): update dependency ts-pattern to ^4.3.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/420
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.16 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/422
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.17 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/423
- chore(deps): update dependency eslint-plugin-jsdoc to v44 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/421
- fix: use scoped variables in the query builder by @maartenofzo in https://github.com/simPod/GrafanaJsonDatasource/pull/414
- chore(deps): update yarn to v3.6.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/429
- ci: check compatibility workflow by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/431
- chore(deps): update dependency eslint-plugin-jsdoc to v46 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/427
- ci: migrate eslint by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/432
- ci: migrate prettier by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/433
- chore(grafana): migrate tsconfig by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/434
- ci: run typecheck by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/436
- chore: rename eslint to lint by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/437
- docs(grafana): config readme by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/438
- chore(deps): update dependency @grafana/eslint-config to v6 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/440
- chore(grafana): move few dev deps by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/444
- chore(grafana): add @grafana/tsconfig by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/445
- chore(grafana): add .nvmrc by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/447
- chore(deps): update grafana packages by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/446
- chore(grafana): add tslib by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/449
- chore(grafana): add $schema to plugin.json by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/451
- chore(grafana): migrate webpack by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/450
- chore(deps): update dependency sass to v1.63.4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/452
- chore(grafana): migrate jest by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/435
- chore(grafana): use caret versions where appropriate by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/454
- chore(deps): update node.js to v18 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/448
- ci: use node 19 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/455
- chore(deps): update dependency typescript to v5 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/456
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.20 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/425
- chore(deps): update dependency ts-pattern to v5 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/442
- ci: release via GA by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/457
New Contributors
- @maartenofzo made their first contribution in https://github.com/simPod/GrafanaJsonDatasource/pull/414
Full Changelog: https://github.com/simPod/GrafanaJsonDatasource/compare/v0.6.2...v0.6.3
v0.6.2
What's Changed
- chore(deps): update dependency ts-pattern to ^4.1.4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/384
- chore(deps): update dependency eslint-plugin-jsdoc to v40 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/385
- chore(deps): update dependency @testing-library/react to v14 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/386
- test: update TemplateSrvStub regex by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/387
- refactor(grafana): use credentials instead of withCredentials by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/388
- refactor: remove react module types override by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/389
- refactor(grafana): use native variable types by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/390
- chore(deps): update dependency ts-pattern to ^4.2.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/391
- chore(deps): update dependency ts-pattern to ^4.2.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/393
- fix: skip scoped variables with undefined value by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/394
- fix: do not suppress datasource errors by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/395
Full Changelog: https://github.com/simPod/GrafanaJsonDatasource/compare/v0.6.1...v0.6.2
v0.6.1
What's Changed
- ci: check for dupes in lockfile by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/366
- chore(deps): bump grafana packages to latest v9 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/359
- docs: sync CHANGELOG with releases by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/367
- chore(deps): bump json5 from 2.2.1 to 2.2.3 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/371
- docs(openapi): add /variable endpoint by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/372
- chore(deps): bump ua-parser-js from 1.0.32 to 1.0.33 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/375
- chore(deps): bump simple-git from 3.15.1 to 3.16.0 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/377
- chore(deps): update yarn to v3.4.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/378
- chore(deps): update yarn to v3.4.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/379
- chore: prepare react dom testing by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/382
- fix: properly display values in QueryBuilderTag by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/383
- chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/381
Full Changelog: https://github.com/simPod/GrafanaJsonDatasource/compare/v0.6.0...0.6.1
v0.6.0
New Builder mode mainly implemented by @MicroOps-cn, huge thanks! 🎉 . See docs for details.
⚠️ Breaking change:
Fully implement /metrics
endpoint. Also /metric-payload-options
endpoint is recommended to be implemented.
TLDR for start, you can just change endpoint path from /search
to /metrics
and it should continue working.
What's Changed
- chore(deps): update dependency @grafana/eslint-config to v4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/312
- chore(deps): remove @typescript-eslint/eslint-plugin as direct dep by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/313
- chore(deps): update yarn to v3.2.2 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/314
- chore(deps): update dependency @grafana/eslint-config to v5 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/317
- chore(deps): update yarn to v3.2.3 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/323
- chore(deps): update actions/stale action to v6 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/328
- chore(deps): update yarn to v3.2.4 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/329
- feat: add example server by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/330
- test: use await in tests so jest does not timeout with no reason by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/331
- chore(deps): bump loader-utils from 2.0.2 to 2.0.3 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/333
- chore(deps): bump terser from 5.14.1 to 5.15.1 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/334
- chore(deps): bump loader-utils from 2.0.3 to 2.0.4 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/335
- chore(deps): update yarn to v3.3.0 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/336
- chore(deps): bump simple-git from 3.7.1 to 3.15.1 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/340
- New features: builder mode (like the builder mode of Prometheus). by @MicroOps-cn in https://github.com/simPod/GrafanaJsonDatasource/pull/324
- chore(deps): update dependency @grafana/experimental to v1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/342
- chore(deps): update yarn to v3.3.1 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/343
- chore(deps): update actions/stale action to v7 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/344
- fix: change /options method to POST by @0xMihir in https://github.com/simPod/GrafanaJsonDatasource/pull/345
- refactor: drop Format (queryType) by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/346
- ci: run eslint and prettier in CI by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/348
- refactor: drop MetricConfig.text by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/347
- refactor: improve unknown payload by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/349
- refactor: rename Beta to Experimental by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/351
- refactor: rename /options to /metric-payload-options by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/350
- refactor: reuse getMetricPayloadOptions() by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/352
- docs: drop TOC since it can be generated by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/353
- docs: use images from v0.6 in Readme by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/354
- docs: refresh setup image by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/355
- docs: use absolute paths to images by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/356
- docs: refresh builder images by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/357
- chore: add plugin-interactive-tools by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/358
- chore(deps): bump grafana eslint config to v5.1 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/361
- docs: mention Swagger editor by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/362
- chore: raise openapi version to 3.0.3 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/363
- ci: make renovate bump non-dev deps by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/360
- chore(deps): update dependency react-virtualized-auto-sizer to ^1.0.7 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/364
v0.5.0
- chore: require Grafana 9 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/308
- chore(deps): update dependency @grafana/runtime to v9 by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/298
- chore(deps): update grafana packages to v9 (major) by @renovate in https://github.com/simPod/GrafanaJsonDatasource/pull/310
- ci: bump Node to v17 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/305
- ci: bump Node to v18 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/311
v0.4.2
- fix: update openapi.yaml to match changes from v0.3.0. by @taylor-sutton in https://github.com/simPod/GrafanaJsonDatasource/pull/281
- Update /variables in README.md by @umyio in https://github.com/simPod/GrafanaJsonDatasource/pull/288 https://github.com/simPod/GrafanaJsonDatasource/pull/304
- Update @grafana deps patch versions + rxjs
- Drop unused annotations code by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/252
v0.4.1
- Document new
/variable
endpoint by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/232
v0.4.0
This adds support for Query Variables. They now call /variable
endpoint instead of /search
.
If you've used this datasource with Query Variables before, it will stop working for you probably. Open an issue for support.
What's Changed
- Upgrade grafana deps to v8.1.x by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/193
- Bump tmpl from 1.0.4 to 1.0.5 by @dependabot in https://github.com/simPod/GrafanaJsonDatasource/pull/194
- Upgrade Grafana deps to v8.1.5 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/195
- Do not use
event.currentTarget.name
as it's fragile by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/196 - Use proper VariableQuery variable in
VariableQueryEditor::checkValidJSON()
by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/197 - Do not override MetricFindValue type by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/198
- Use rxjs by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/199
- Upgrade @types/lodash to 4.14.176 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/210
- Upgrade rxjs to 7.4 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/211
- Add workflow_dispatch trigger to GA by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/212
- Use actions/setup-node@v2 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/214
- Run CI on node 16 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/216
- Use Yarn v3 by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/215
- Fix Readme typo by @chenyahui in https://github.com/simPod/GrafanaJsonDatasource/pull/220
- Add types to DataSource by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/228
- Bump to Grafana 8.3.x deps by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/227
- Add support for querying variables by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/200
- Replace stale bot with GA by @simPod in https://github.com/simPod/GrafanaJsonDatasource/pull/229
v0.3.0
Features
- DataFrame is supported. Every response is converted to DataFrame now.
- Uses native Annotations
interval
variables are supported
Breaking Changes
- Removed Format As input and with that a
type
field in request. - Field
target.data
in request was renamed totarget.payload
(edit your Dashboard's JSON for easy migration). - You should resave your variables as the legacy support has been dropped (it requires
{ query: string, format: string }
shape) https://github.com/simPod/GrafanaJsonDatasource/commit/77a042f56f334ee1e48b396a7a459cea028d0b3d
Constraint is set to Grafana 8.0.0+
v0.2.6
Query Variables now have Raw JSON
switch. When enabled, the query string is parsed as a JSON object. Otherwise when disabled, the query string is placed into a target
key to create a JSON object.
v0.2.5
- Security dep bumps
- Do not issue a query when metric is not selected #165
- This should be a last version in 0.2.x row
v0.2.4
- Fixed order of processing Additional JSON, so we're first replacing variables and JSON parse after that in #149 (@istvan86-nagy)
v0.2.3
- Upgrade deps to @grafana v7.3
- Require Grafana 7.3