Skip to content

Commit 184ff19

Browse files
authored
chore(server): change tracer collector's host name (#1727)
We're about to change a service which receives the traces. It's now Jaeger, and thanks to this change: LeoColman/MyStack#21, Jaeger is now reachable by the more abstract host name. It lets us abstract out what component receives the traces by simply configuring in Docker Compose's config which service will be available under this hostname. Ultimately, it will allow us to enable aggregated metrics with OTel Collector and Prometheus without downtime.
1 parent 6a730df commit 184ff19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jit-binding-server/src/main/kotlin/io/github/typesafegithub/workflows/jitbindingserver/OpenTelemetryConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ UI available at http://localhost:16686/
3232
*/
3333
internal fun buildOpenTelemetryConfig(
3434
serviceName: String,
35-
endpointConfig: String = "http://jaeger:4317",
35+
endpointConfig: String = "http://traces_collector:4317",
3636
): OpenTelemetry {
3737
val spanExporter =
3838
OtlpGrpcSpanExporter

0 commit comments

Comments
 (0)