feat(SW-1442): added destination overview page * feat(SW-1442): added destination overview page Approved-by: Fredrik Thorsson Approved-by: Matilda Landström
24 lines
916 B
TypeScript
24 lines
916 B
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"
|
|
)
|