Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Update Duration value in example traces dashboard #983

Merged
merged 4 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- Added warning for when `uid` is missing in provisioned datasources.
- Map filters in the query builder now correctly show the key instead of the column name
- Updated and fixed missing `system.dashboards` dashboard in list of dashboards
- Updated the duration value in example traces dashboard to provide useful information

## 4.3.2

Expand Down
3 changes: 1 addition & 2 deletions src/dashboards/opentelemetry-clickhouse.json
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,7 @@
},
"pluginVersion": "4.0.6",
"queryType": "table",
"rawSql": "SELECT\r\n min(Timestamp) as timestamp,\r\n TraceId as `Trace ID`,\r\n argMin(ServiceName, Timestamp) as `Service Name`,\r\n sum(Duration)/1000000 as Duration\r\nFROM otel_traces\r\nWHERE\r\n $__conditionalAll(TraceId IN (${trace_id:singlequote}), $trace_id)\r\n AND ServiceName IN (${serviceName:singlequote})\r\n AND ServiceName != 'loadgenerator'\r\n AND $__timeFilter(Timestamp)\r\nGROUP BY TraceId\r\nORDER BY Duration DESC\r\nLIMIT 100\r\n",
"refId": "A"
"rawSql": "SELECT\r\n min(Timestamp) as timestamp,\r\n TraceId as `Trace ID`,\r\n argMin(ServiceName, Timestamp) as `Service Name`,\r\n divide(max(Duration), 1000000) as Duration\r\nFROM otel_traces\r\nWHERE\r\n $__conditionalAll(TraceId IN (${trace_id:singlequote}), $trace_id)\r\n AND ServiceName IN (${serviceName:singlequote})\r\n AND ServiceName != 'loadgenerator'\r\n AND $__timeFilter(Timestamp)\r\nGROUP BY TraceId\r\nORDER BY Duration DESC\r\nLIMIT 100\r\n", "refId": "A"
}
],
"title": "Traces",
Expand Down
Loading