File

projects/opentelemetry-interceptor-webpack/src/lib/configuration/opentelemetry-webpack-config.ts

Description

Configuration for Zipkin

Index

Properties

Properties

headers
headers: literal type
Type : literal type
Optional

custom headers

url
url: string
Type : string
Optional

An url (Default value: http://localhost:9411/api/v2/spans)

import { InjectionToken } from '@angular/core';

/**
 * Configuration for Zipkin
 */
export interface ZipkinCollectorConfig {
  /**
   * An url (Default value: http://localhost:9411/api/v2/spans)
   */
  url?: string;
  /**
   * custom headers
   */
  headers?: {
    [key: string]: string;
  };
}

/**
 * OpenTelemetryWebpackConfig
 */
export interface OpenTelemetryWebpackConfig {
  /** zipkinConfig */
  zipkinConfig?: ZipkinCollectorConfig;
}
/** OpenTelemetryInjectConfig : Config injection */
export const OpenTelemetryWebpackInjectConfig = new InjectionToken<OpenTelemetryWebpackConfig>('opentelemetry.webpack.config');

result-matching ""

    No results matching ""