Skip to content

Commit 1328cc4

Browse files
authored
Add info about limits of using EventDB for metrics (#476)
1 parent f2b68f8 commit 1328cc4

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

query-data/metrics/overview.mdx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ Logs and metrics are different forms of event data. It’s often possible to rep
3232
- **Standardized data types**: OpenTelemetry defines a small set of metric types with clear semantics. The metric type tells you how to query the data—no guessing how to aggregate or calculate rates.
3333
- **Faster queries**: Metrics data is stored in a format optimized for producing time series and other popular metrics visualizations. No need to process the data at query time.
3434

35-
### When to use EventDB for metrics
35+
### When to use MetricsDB or EventDB for metrics
3636

37-
If you can instrument your architecture to use the OTel Collector, you should use MetricsDB for storing metrics data. If you can’t use the OTel Collector, there are some circumstances when you can still use EventDB for metrics-style workloads:
37+
| Use MetricsDB when | Use EventDB when |
38+
|--------------|--------------|
39+
| You can send metrics using the OTel Collector or another OTel-compatible SDK | You can’t use OTel-compatible tooling |
40+
| High-frequency measurements (many per second) | Low-frequency point-in-time gauges |
41+
| You need rate calculations or percentiles | Simple aggregations are sufficient |
3842

39-
- **Your metrics are gauges**: Point-in-time measurements like temperature or memory usage that don’t need rate calculations.
40-
- **Query complexity is low**: You’re querying small quantities of data, and can afford to derive metrics at query time.
41-
42-
EventDB provides flexible querying through APL without requiring structured metric types.
43+
When in doubt, use MetricsDB. It’s designed for metrics workloads and scales better as volume grows.
4344

4445
<Prerequisites />
4546

query-data/metrics/query-metrics.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,5 @@ Available aggregation functions:
118118

119119
For example:
120120
- To calculate the number of series, use `group using count`.
121-
To sum the values of all series, use `group using sum`.
121+
- To sum the values of all series, use `group using sum`.
122122
- To group data by the `project` and `namespace` tags using the `sum` aggregation, use `group by project, namespace using sum`.

0 commit comments

Comments
 (0)