MM-58367 Increase maximum bucket size for LCP metrics (#27147)
* MM-58367 Increase maximum bucket size for LCP metrics * Don't potentially mutate DefBuckets * Increase maximum bucket for FCP metrics too
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2f7f00b256
Коммит
beb8d5e8e0
@@ -1152,6 +1152,9 @@ func New(ps *platform.PlatformService, driver, dataSource string) *MetricsInterf
|
|||||||
Subsystem: MetricsSubsystemClientsWeb,
|
Subsystem: MetricsSubsystemClientsWeb,
|
||||||
Name: "first_contentful_paint",
|
Name: "first_contentful_paint",
|
||||||
Help: "Duration of how long it takes for any content to be displayed on screen to a user (seconds)",
|
Help: "Duration of how long it takes for any content to be displayed on screen to a user (seconds)",
|
||||||
|
|
||||||
|
// Extend the range of buckets for this while we get a better idea of the expected range of this metric is
|
||||||
|
Buckets: []float64{.005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10, 15, 20},
|
||||||
},
|
},
|
||||||
[]string{"platform", "agent"},
|
[]string{"platform", "agent"},
|
||||||
)
|
)
|
||||||
@@ -1163,6 +1166,9 @@ func New(ps *platform.PlatformService, driver, dataSource string) *MetricsInterf
|
|||||||
Subsystem: MetricsSubsystemClientsWeb,
|
Subsystem: MetricsSubsystemClientsWeb,
|
||||||
Name: "largest_contentful_paint",
|
Name: "largest_contentful_paint",
|
||||||
Help: "Duration of how long it takes for large content to be displayed on screen to a user (seconds)",
|
Help: "Duration of how long it takes for large content to be displayed on screen to a user (seconds)",
|
||||||
|
|
||||||
|
// Extend the range of buckets for this while we get a better idea of the expected range of this metric is
|
||||||
|
Buckets: []float64{.005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10, 15, 20},
|
||||||
},
|
},
|
||||||
[]string{"platform", "agent"},
|
[]string{"platform", "agent"},
|
||||||
)
|
)
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user