The Telemetry Connector provides an interface for collecting and exporting observability data, such as distributed traces and metrics.
ITelemetryRequestCurrently, the Telemetry interface is primarily internal, handling automatic instrumentation and export.
Initializes the OpenTelemetry Node.js SDK with auto-instrumentation for HTTP, gRPC, and other standard libraries.
endpoint: The OTel Collector endpoint (e.g., http://localhost:4318).serviceName: Name of the service resource.serviceVersion: Version of the service.headers: Custom headers for the exporter (e.g., for authentication).SRE.init({
Telemetry: {
Connector: 'OTel',
Settings: {
endpoint: 'http://jaeger:4318',
serviceName: 'my-smythos-agent',
},
},
});