Skip to content

Commit

Permalink
Merge pull request #611 from RizaFarheen/main
Browse files Browse the repository at this point in the history
Update query-processor.md
  • Loading branch information
RizaFarheen authored Jan 30, 2024
2 parents b5f1a58 + d50390c commit e6a8cf1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/reference-docs/system-tasks/query-processor.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ If the query type is chosen as METRICS, then the task definition is as follows:

```json
{
"name": "query_processor",
"taskReferenceName": "query_processor_ref",
"inputParameters": {
"metricsQuery": "",
"metricsStart": "",
"metricsEnd": "",
"metricsStep": "",
"queryType": "METRICS"
},
"type": "QUERY_PROCESSOR",
"name": "query_processor",
"taskReferenceName": "query_processor_ref",
"inputParameters": {
"metricsQuery": "avg_over_time(cpu_usage{instance=\"your_instance\"}[1h])",
"metricsStart": "2024-01-01T00:00:00Z",
"metricsEnd": "2024-01-30T23:59:59Z",
"metricsStep": "5m",
"queryType": "METRICS"
},
"type": "QUERY_PROCESSOR"
}
```

Expand Down

0 comments on commit e6a8cf1

Please sign in to comment.