Feat/SW-1449 destination page * feat(SW-1449): Added destination country page * feat(SW-1449): added destination city page Approved-by: Fredrik Thorsson Approved-by: Matilda Landström
24 lines
903 B
TypeScript
24 lines
903 B
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"
|
|
)
|