Skip to content

Commit

Permalink
adapt readme after PR review
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Aug 5, 2024
1 parent cfc54cc commit 98126a7
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions exporter/clickhouseexporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,17 @@ ClickHouse tables:

- `logs_table_name` (default = otel_logs): The table name for logs.
- `traces_table_name` (default = otel_traces): The table name for traces.
- `metrics_table_name` (default = otel_metrics): The table name for metrics.
- `metrics_tables`
- `gauge`
- `name` (default = "otel_metrics_gauge")
- `sum`
- `name` (default = "otel_metrics_sum")
- `summary`
- `name` (default = "otel_metrics_summary")
- `histogram`
- `name` (default = "otel_metrics_histogram")
- `exponential_histogram`
- `name` (default = "otel_metrics_exp_histogram")

Cluster definition:

Expand Down Expand Up @@ -365,16 +375,16 @@ exporters:
traces_table_name: otel_traces
timeout: 5s
metrics_tables:
gauge:
name: "otel_metrics_gauge"
sum:
name: "otel_metrics_sum"
summary:
name: "otel_metrics_summary"
histogram:
name: "otel_metrics_histogram"
exponential_histogram:
name: "otel_metrics_exp_histogram"
gauge:
name: "otel_metrics_gauge"
sum:
name: "otel_metrics_sum"
summary:
name: "otel_metrics_summary"
histogram:
name: "otel_metrics_histogram"
exponential_histogram:
name: "otel_metrics_exp_histogram"
retry_on_failure:
enabled: true
initial_interval: 5s
Expand All @@ -392,9 +402,6 @@ service:
exporters: [ clickhouse ]
```
**Note:**
Parameter `metrics_table_name` will be deprecated and replaced by `metric_tables` which support setting the full table name (including suffix) for tables of each metric type. Using `metrics_table_name` and `metric_tables` together will result in ignoring the `metrics_table_name` parameter value.

## Contributing
Before contributing, review the contribution guidelines in [CONTRIBUTING.md](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md).
Expand Down

0 comments on commit 98126a7

Please sign in to comment.