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

Commit dc2698e

Browse files
authored
Merge pull request #13 from datacamp/wl-481-details-page
chore: add time to interactive for the competition details page
2 parents 11a720c + 9a0d16d commit dc2698e

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

config/metricConfigs/learnMetrics.ts

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ const allowedMetrics: MetricsConfig = [
208208
protocol: "statsd"
209209
},
210210
{
211-
name: "competitions__time_to_initial_page_load",
211+
name: "competitions__time_to_initial_explore_page_load",
212212
help: "Measure the time for competitions explore page load",
213213
type: "histogram",
214214
labels: [
@@ -227,6 +227,26 @@ const allowedMetrics: MetricsConfig = [
227227
],
228228
protocol: "statsd"
229229
},
230+
{
231+
name: "competitions__time_to_initial_details_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"]
242+
},
243+
{
244+
name: "underThreshold",
245+
allowedValues: ["true", "false"]
246+
},
247+
],
248+
protocol: "statsd"
249+
},
230250
{
231251
name: "competitions__time_to_entries_page_load",
232252
help: "Measure the time for competitions details page load",

0 commit comments

Comments
 (0)