Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 11a720c

Browse files
author
Harry Smaje
committed
[WL-481] Split SLOs for explore and details pages
1 parent 2677f63 commit 11a720c

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

config/metricConfigs/learnMetrics.ts

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ const allowedMetrics: MetricsConfig = [
209209
},
210210
{
211211
name: "competitions__time_to_initial_page_load",
212-
help: "Measure the time to initial data load on the competitions pages",
212+
help: "Measure the time for competitions explore page load",
213213
type: "histogram",
214214
labels: [
215215
{
@@ -218,7 +218,27 @@ const allowedMetrics: MetricsConfig = [
218218
},
219219
{
220220
name: "pageName",
221-
allowedValues: ["explorePage, detailsPage, workspacePage"]
221+
allowedValues: ["explorePage"]
222+
},
223+
{
224+
name: "underThreshold",
225+
allowedValues: ["true", "false"]
226+
},
227+
],
228+
protocol: "statsd"
229+
},
230+
{
231+
name: "competitions__time_to_entries_page_load",
232+
help: "Measure the time for competitions details page load",
233+
type: "histogram",
234+
labels: [
235+
{
236+
name: "appName",
237+
allowedValues: ["/learn/competitions"]
238+
},
239+
{
240+
name: "pageName",
241+
allowedValues: ["detailsPage"]
222242
},
223243
{
224244
name: "underThreshold",

0 commit comments

Comments
 (0)