Skip to content

Commit 209761f

Browse files
authored
Fix Otelcol binary location (#53)
* move otelcol into /opt * Fix local testing mistake * Bump version
1 parent 37dace2 commit 209761f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ARG APOLLO_ROUTER_VERSION=2.7.0
88
# renovate: datasource=github-releases depName=apollographql/apollo-mcp-server
99
ARG APOLLO_MCP_SERVER_VERSION=0.9.0
1010

11-
LABEL org.opencontainers.image.version=0.0.23
11+
LABEL org.opencontainers.image.version=0.0.24
1212
LABEL org.opencontainers.image.vendor="Apollo GraphQL"
1313
LABEL org.opencontainers.image.title="Apollo Runtime"
1414
LABEL org.opencontainers.image.description="A GraphQL Runtime for serving Supergraphs and enabling AI"
@@ -45,7 +45,7 @@ RUN case $TARGETARCH in \
4545
RUN tar -C / -Jxpf /tmp/s6.tar.xz && rm -r /tmp/s6.tar.xz
4646

4747
# Copy our otel collector into our final image
48-
COPY --from=otel /otelcol-contrib /otelcol-contrib
48+
COPY --from=otel /otelcol-contrib /opt/otelcol-contrib
4949
COPY --from=otel /etc/otelcol-contrib /etc/otelcol-contrib
5050

5151
# Install our otelcol service definition

examples/datadog/otel-collector/router_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ telemetry:
2222
supergraph: # Apollo specific attribute options: https://www.apollographql.com/docs/graphos/routing/observability/telemetry/instrumentation/standard-attributes#supergraph
2323
attributes:
2424
otel.name: supergraph
25-
operation.name: "taco"
25+
operation.name: "supergraph"
2626
resource.name:
2727
operation_name: string
2828
otel.status_code: # This attribute will be set to true if the response from the router contained errors in the response body and will mark spans as Error in the APM UI.

0 commit comments

Comments
 (0)