feat(SW-1453): added city listing component * feat(SW-1453): added city listing component Approved-by: Christian Andolf Approved-by: Fredrik Thorsson
34 lines
1.2 KiB
TypeScript
34 lines
1.2 KiB
TypeScript
import { metrics } from "@opentelemetry/api"
|
|
|
|
const meter = metrics.getMeter("trpc.contentstack.destinationCountryPage")
|
|
|
|
export const getDestinationCountryPageRefsCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCountryPage.get"
|
|
)
|
|
export const getDestinationCountryPageRefsFailCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCountryPage.get-fail"
|
|
)
|
|
export const getDestinationCountryPageRefsSuccessCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCountryPage.get-success"
|
|
)
|
|
|
|
export const getDestinationCountryPageCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCountryPage.get"
|
|
)
|
|
export const getDestinationCountryPageSuccessCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCountryPage.get-success"
|
|
)
|
|
export const getDestinationCountryPageFailCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCountryPage.get-fail"
|
|
)
|
|
|
|
export const getCityListDataCounter = meter.createCounter(
|
|
"trpc.contentstack.cityListData.get"
|
|
)
|
|
export const getCityListDataSuccessCounter = meter.createCounter(
|
|
"trpc.contentstack.cityListData.get-success"
|
|
)
|
|
export const getCityListDataFailCounter = meter.createCounter(
|
|
"trpc.contentstack.cityListData.get-fail"
|
|
)
|