Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(influxdb): enhancements and bug fixes (#899)
* feat(influxdb): bug fixes and enhancements * chore(build): Gradle 7 compatibility (#895) This change makes the project compatible with Gradle 7 * chore(dependencies): add explicit dependency on javax.validation:validation-api (#897) since spring cloud Hoxton.SR12 doesn't bring it in. See spinnaker/orca#4254 for more. * chore(dependencies): Autobump orcaVersion (#896) Co-authored-by: root <root@470565d33c7a> Co-authored-by: David Byron <82477955+dbyron-sf@users.noreply.github.com> * chore(influxdb): adding docs * chore(influxdb): update influxdb docs * chore(influxdb): fix spacing in docs * chore(influxdb): added comments Co-authored-by: IvanessChristleChiong <Ivaness.Chiong@target.com> Co-authored-by: Patrik Greco <pgreco@apple.com> Co-authored-by: David Byron <82477955+dbyron-sf@users.noreply.github.com> Co-authored-by: spinnakerbot <spinbot@spinnaker.io> Co-authored-by: root <root@470565d33c7a> Co-authored-by: Cameron Motevasselani <cmotevasselani@gmail.com>
- Loading branch information
1 parent
aa4c906
commit a3c9ae7
Showing
7 changed files
with
267 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
### InfluxdbCanaryMetricSetQueryConfig (CanaryMetricSetQueryConfig) | ||
Influxdb specific query configurations. | ||
|
||
#### Properties | ||
- `metricName` (string, optional): The measurement name where metrics are stored. This field is **required** UNLESS using `customInlineTemplate`. | ||
|
||
``` | ||
"metricName": "cpu" | ||
``` | ||
|
||
- `fields` (array[string], optional): The list of field names that need to be included in query. This field is **required** UNLESS using `customInlineTemplate`. See example below: | ||
|
||
``` | ||
fields: [ | ||
"count" | ||
] | ||
``` | ||
|
||
- `customInlineTemplate` (string, optional): This allows you to write your own IQL statement. `${scope}` and `{timeFilter}` variables are **required** in the IQL statement. See example below: | ||
|
||
``` | ||
customInlineTemplate: "SELECT sum(count) FROM cpu WHERE host = 'value1' AND ${scope} AND ${timeFilter} GROUP BY time(1m)" | ||
``` | ||
|
||
- `type` (enum[string], required) | ||
- `influxdb` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.