[APM] Use new path syntax in waterfall (#111689)

This commit is contained in:
Dario Gieselaar 2021-09-09 12:40:07 +02:00 committed by GitHub
parent 2c7d13b7b9
commit c1697a1163
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -230,9 +230,9 @@ function RelatedErrors({
}) {
const apmRouter = useApmRouter();
const theme = useTheme();
const { query } = useApmParams('/services/:serviceName/transactions/view');
const { query } = useApmParams('/services/{serviceName}/transactions/view');
const href = apmRouter.link(`/services/:serviceName/errors`, {
const href = apmRouter.link(`/services/{serviceName}/errors`, {
path: { serviceName: item.doc.service.name },
query: {
...query,