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
864 B
TypeScript
24 lines
864 B
TypeScript
import { metrics } from "@opentelemetry/api"
|
|
|
|
const meter = metrics.getMeter("trpc.contentstack.destinationCityPage")
|
|
|
|
export const getDestinationCityPageRefsCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCityPage.get"
|
|
)
|
|
export const getDestinationCityPageRefsFailCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCityPage.get-fail"
|
|
)
|
|
export const getDestinationCityPageRefsSuccessCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCityPage.get-success"
|
|
)
|
|
|
|
export const getDestinationCityPageCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCityPage.get"
|
|
)
|
|
export const getDestinationCityPageSuccessCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCityPage.get-success"
|
|
)
|
|
export const getDestinationCityPageFailCounter = meter.createCounter(
|
|
"trpc.contentstack.destinationCityPage.get-fail"
|
|
)
|