Skip to content

Commit

Permalink
doc: update metrics sql syntax (#5168)
Browse files Browse the repository at this point in the history
  • Loading branch information
mindspank authored Jul 1, 2024
1 parent 5df95bb commit d98a59d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/integrate/custom-apis/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ It should have the following structure:

```yaml
type: api
metrics_sql: SELECT dimension, AGGREGATE(measure) FROM my_metrics GROUP BY dimension
metrics_sql: SELECT dimension, measure FROM my_metrics
```
where `my_metrics` is your metrics view name, `measure` is a custom metrics that you have defined.
Read more details about [Metrics SQL API](./metrics-sql-api.md).

## How to use custom APIs
Refer to the integration docs [here](/integrate/custom-api.md) to learn how to use custom APIs in your application.
Refer to the integration docs [here](/integrate/custom-api.md) to learn how to use custom APIs in your application.

0 comments on commit d98a59d

Please sign in to comment.