Skip to content

Commit

Permalink
[exporter/clickhouse] Update README.md (#33732)
Browse files Browse the repository at this point in the history
Updates metrics example queries to use current spec for `calls` (instead
of `calls_total`)

**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

**Link to tracking Issue:** <Issue number if applicable>

**Testing:** <Describe what testing was performed and which tests were
added.>

**Documentation:** <Describe the documentation added.>
  • Loading branch information
joshleecreates authored Jul 16, 2024
1 parent f34e5ee commit 509504b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exporter/clickhouseexporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,13 @@ between Prometheus(OpenMetrics) and OTLP Metrics.
- Find a sum metrics with name
```sql
select TimeUnix,MetricName,Attributes,Value from otel_metrics_sum
where MetricName='calls_total' limit 100
where MetricName='calls' limit 100
```

- Find a sum metrics with name, attribute.
```sql
select TimeUnix,MetricName,Attributes,Value from otel_metrics_sum
where MetricName='calls_total' and Attributes['service_name']='featureflagservice'
where MetricName='calls' and Attributes['service_name']='featureflagservice'
limit 100
```

Expand Down

0 comments on commit 509504b

Please sign in to comment.