Files
pos-system/packages/tracing
Ho Ngoc Hai 019c79b898 Refactor auth-service to iam-service and update related configurations
- Renamed auth-service to iam-service across various files for consistency.
- Updated deployment workflows, database migration scripts, and documentation to reflect the service name change.
- Enhanced bilingual documentation for clarity on the new service structure and usage.
- Removed outdated references to auth-service in scripts and configuration files to streamline the project structure.
2025-12-30 21:03:00 +07:00
..
2025-12-27 01:31:10 +07:00
2025-12-27 01:31:10 +07:00

@goodgo/tracing

OpenTelemetry tracing setup for distributed tracing.

Usage

import { initTracing } from '@goodgo/tracing';

// Initialize tracing at application startup
initTracing({
  serviceName: 'iam-service',
  jaegerEndpoint: process.env.JAEGER_ENDPOINT,
  enabled: process.env.TRACING_ENABLED === 'true',
});