Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 448 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 448 Bytes

How to send data to Levitate

  • Obtain OTLP Authroization header from Levitate dashboard.
  • Run following command:
OTEL_EXPORTER_OTLP_LOGS_PROTOCOL='grpc' OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=otlp.last9.io:443 OTEL_EXPORTER_OTLP_HEADERS="Authorization=<HEADER>"  OTEL_RESOURCE_ATTRIBUTES="service.name=<SERVICE_NAME>,service.version=<SERVICE_VERSION>" node index.js

Replace the service name and service version with appropriate values.