feat/SW-1444 destination page add destination list component * feat(SW-1444): add list component * feat(SW-1444): add subtitle to accordion * feat(SW-1444): refactor component structure * feat(SW-1444): add desktop breakpoint * feat(SW-1444): fix typo * feat(SW-1444): add props * feat(SW-1444): add query * feat(SW-1444): updated query * feat(SW-1444): display data * feat(SW-1444): fix merge hickup * feat(SW-1444): change var name * feat(SW-1444): remove unsued translations * feat(SW-1444): use country as title * feat(SW-1444): sort hotels in query * feat(SW-1444): make responsive * feat(SW-1444): fetch country url * feat(SW-1444): update logging * feat(SW-1444): remove spread Approved-by: Erik Tiekstra
36 lines
1.2 KiB
TypeScript
36 lines
1.2 KiB
TypeScript
import { metrics } from "@opentelemetry/api"
|
|
|
|
const meter = metrics.getMeter("trpc.contentstack.destinationOverviewPage")
|
|
|
|
export const getDestinationOverviewPageRefsCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationOverviewPage.get"
|
|
)
|
|
export const getDestinationOverviewPageRefsFailCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationOverviewPage.get-fail"
|
|
)
|
|
export const getDestinationOverviewPageRefsSuccessCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationOverviewPage.get-success"
|
|
)
|
|
|
|
export const getDestinationOverviewPageCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationOverviewPage.get"
|
|
)
|
|
export const getDestinationOverviewPageSuccessCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationOverviewPage.get-success"
|
|
)
|
|
export const getDestinationOverviewPageFailCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationOverviewPage.get-fail"
|
|
)
|
|
|
|
export const getCountryPageUrlCounter = meter.createCounter(
|
|
"trpc.contentstack.getCountryPageUrl"
|
|
)
|
|
|
|
export const getCountryPageUrlSuccessCounter = meter.createCounter(
|
|
"trpc.contentstack.getCountryPageUrl-success"
|
|
)
|
|
|
|
export const getCountryPageUrlFailCounter = meter.createCounter(
|
|
"trpc.contentstack.getCountryPageUrl-fail"
|
|
)
|