Skip to content

Commit

Permalink
Filter out private metrics from stats
Browse files Browse the repository at this point in the history
  • Loading branch information
zoul committed Sep 30, 2024
1 parent 37aba9e commit 36a58ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const samplesTable = appBase("Metrics: Samples");

export const getAllMetricDefinitions = async () =>
definitionsTable
.select()
.select({ view: "Public Metrics" })
.all()
.then(unwrapRecords)
.then(decodeValidItemsFromArray(decodeMetricDefinition));
Expand Down

0 comments on commit 36a58ff

Please sign in to comment.