Skip to content

Commit 1b2b8e7

Browse files
Merge pull request #6758 from tureba/patch-1
Fix links from edb_otel to pg_exporter
2 parents c6b14b5 + a12d163 commit 1b2b8e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

advocacy_docs/pg_extensions/otel/using.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ This custom query adds a count of client backends to the schedule:
9191

9292
## `edb_otel.pg_exporter_base_definitions`
9393

94-
This view contains the meter (queries and their metrics) definitions that pg_exporter brings by default. You can refresh them from the [upm-metrics-pg-exporter](https://github.com/EnterpriseDB/upm-metrics-pg-exporter/tree/main/config/collector) or the [pg_exporter collector](https://github.com/Vonng/pg_exporter/tree/main/config/collector) by running `yq` on the directory:
94+
This view contains the meter (queries and their metrics) definitions that pg_exporter brings by default. You can refresh them from the [pg_exporter collector](https://github.com/pgsty/pg_exporter/tree/main/config) by running `yq` on the directory:
9595

9696
```yq
97-
yq eval-all -o=json '. as $item ireduce ({}; . * $item)' [...]/config/collector/*.yml
97+
yq eval-all -o=json '. as $item ireduce ({}; . * $item)' [...]/config/*.yml
9898
```
9999

100100
## Job scheduling
@@ -104,7 +104,7 @@ You can use pg_cron to schedule jobs for the pg_exporter. edb_otel has auxiliary
104104
- The meter name. This is the top key in the YAML files.
105105
- A scheduling definition. This is a schedule that pg_cron will accept,
106106

107-
For example, the [410-pg_activity.yml](https://github.com/Vonng/pg_exporter/blob/main/config/collector/410-pg_activity.yml) query pulls output from pg_stat_activity. To run this every minute, use the cron syntax: '* * * * *'. To create the job in pg_cron:
107+
For example, the [0410-pg_activity.yml](https://github.com/pgsty/pg_exporter/blob/main/config/0410-pg_activity.yml) query pulls output from pg_stat_activity. To run this every minute, use the cron syntax: '* * * * *'. To create the job in pg_cron:
108108

109109
```sql
110110
SELECT edb_otel.schedule_from_pg_exporter_definition(meters->'pg_activity', '* * * * *')

0 commit comments

Comments
 (0)