change open telemetry endpoint

This commit is contained in:
Peter Maquiran
2024-06-17 14:38:31 +01:00
parent 596bd09f93
commit 58eee3ff93
2 changed files with 28 additions and 23 deletions
@@ -13,7 +13,7 @@ function createProvider(serviceName) {
provider.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter()));
provider.addSpanProcessor(new SimpleSpanProcessor(new ZipkinExporter({
url: 'https://5.180.182.151/zipkin-endpoint/api/v2/spans',
url: 'http://5.180.182.151:9411/api/v2/spans',
serviceName: serviceName,
// Uncomment and customize the following if needed
// getExportRequestHeaders: () => {