1.2.4 • Published 8 months ago

nuxt-otel v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Configuration

You can configure the module by adding the opentelemetry property in your nuxt.config.ts. Here's a full list of options:

  • serviceName: The name of your service (default: 'nuxt-app')
  • jaegerEndpoint: The URL of your Jaeger collector (default: 'http://localhost:4318/v1/traces')
  • metrics:
    • enabled: Enable metrics collection (default: false)
    • exporter: Choose between 'otlp' or 'console' (default: 'console')
    • endpoint: The URL for the OTLP metrics exporter (required if exporter is 'otlp')
    • interval: The interval in milliseconds for exporting metrics (default: 5000)
  • logs:
    • enabled: Enable log collection (default: false)
    • exporter: Choose between 'otlp' or 'console' (default: 'console')
    • endpoint: The URL for the OTLP log exporter (required if exporter is 'otlp')