@shopify/cli-kit
    Preparing search index...
    interface BaseOtelServiceOptions {
        meterProvider?: MeterProvider;
        metrics?: MetricsConfig;
        onRecord?: OnRecordCallback;
        prefixMetric?: boolean;
        serviceName: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    meterProvider?: MeterProvider

    Override the default meter provider.

    metrics?: MetricsConfig

    Metrics to register on startup.

    onRecord?: OnRecordCallback

    Called when a metric is recorded. addOnRecord can also be used to add listeners anytime.

    prefixMetric?: boolean

    If this is set to true then the service name is prefixed to every metric.

    serviceName: string

    Service name is a unique name for an application/service.