Skip to content

Commit

Permalink
Track additional extensions in telemetry
Browse files Browse the repository at this point in the history
Add information about the existence of `ai`, `vector`, or `vectorbase`
extensions to telemetry.
  • Loading branch information
mkindahl committed Aug 15, 2024
1 parent e0017d8 commit 2f1b171
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .unreleased/pr_7204
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Implements: #7204 Track additional extensions in telemetry
6 changes: 5 additions & 1 deletion src/telemetry/telemetry.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@
#define REQ_IS_WAL_RECEIVER "is_wal_receiver"

#define PG_PROMETHEUS "pg_prometheus"
#define PG_VECTOR "vector"
#define TS_AI "ai"
#define TS_VECTORSCALE "vectorscale"
#define PROMSCALE "promscale"
#define POSTGIS "postgis"
#define TIMESCALE_ANALYTICS "timescale_analytics"
Expand All @@ -95,7 +98,8 @@
#define REQ_NUM_ERR_BY_SQLERRCODE "errors_by_sqlerrcode"

static const char *related_extensions[] = {
PG_PROMETHEUS, PROMSCALE, POSTGIS, TIMESCALE_ANALYTICS, TIMESCALEDB_TOOLKIT,
PG_PROMETHEUS, PROMSCALE, POSTGIS, TIMESCALE_ANALYTICS,
TIMESCALEDB_TOOLKIT, PG_VECTOR, TS_AI, TS_VECTORSCALE,
};

/* This function counts background worker jobs by type. */
Expand Down

0 comments on commit 2f1b171

Please sign in to comment.