Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 2473f88

Browse files
author
Amir Blum
authored
Merge pull request #49 from aspecto-io/zipkin-endpoint
feat: add env var for zipkin export
2 parents 5948659 + 1939790 commit 2473f88

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ services:
4444
environment:
4545
- NODE_ENV
4646
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
47+
- OTEL_EXPORTER_ZIPKIN_ENDPOINT
4748
- ASPECTO_AUTH
4849
- ASPECTO_LIVE_FLOWS_URL
4950
- ASPECTO_GITHASH
@@ -65,6 +66,7 @@ services:
6566
environment:
6667
- NODE_ENV
6768
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
69+
- OTEL_EXPORTER_ZIPKIN_ENDPOINT
6870
- MODE=PROCESSOR
6971
- ASPECTO_LIVE_FLOWS_URL
7072
- ASPECTO_AUTH
@@ -88,6 +90,7 @@ services:
8890
environment:
8991
- NODE_ENV
9092
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
93+
- OTEL_EXPORTER_ZIPKIN_ENDPOINT
9194
- MODE=SERVER
9295
- ASPECTO_LIVE_FLOWS_URL
9396
- ASPECTO_AUTH

services/scraper-service/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ init({
55
local: process.env.NODE_ENV !== "production",
66
logger: console,
77
otCollectorEndpoint: process.env.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,
8+
customZipkinEndpoint: process.env.OTEL_EXPORTER_ZIPKIN_ENDPOINT,
89
});
910
import axios from "axios";
1011
import express, { Request, Response, NextFunction } from "express";

services/user-service/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ init({
55
local: process.env.NODE_ENV !== "production",
66
logger: console,
77
otCollectorEndpoint: process.env.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,
8+
customZipkinEndpoint: process.env.OTEL_EXPORTER_ZIPKIN_ENDPOINT,
89
});
910

1011
import mongoose from "mongoose";

services/wikipedia-service/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ initAspecto({
66
logger: console,
77
packageName: `wikipedia-service(${process.env.MODE.toLowerCase()})`,
88
otCollectorEndpoint: process.env.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,
9+
customZipkinEndpoint: process.env.OTEL_EXPORTER_ZIPKIN_ENDPOINT,
910
});
1011
import { SQS } from "aws-sdk";
1112
import { Consumer } from "sqs-consumer";

0 commit comments

Comments
 (0)