File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends wget && \
2929 apt-get remove -y wget && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
3030
3131FROM base AS final
32+ USER root
33+ RUN apt-get update && apt-get install -y --no-install-recommends libgssapi-krb5-2 && rm -rf /var/lib/apt/lists/*
34+ USER $APP_UID
3235WORKDIR /app
3336COPY --from=publish /app/publish .
3437COPY --from=pyroscope-dl /pyroscope /pyroscope
Original file line number Diff line number Diff line change 99using GithubActionsOrchestrator . Models ;
1010using Microsoft . AspNetCore . Mvc ;
1111using Microsoft . EntityFrameworkCore ;
12+ using OpenTelemetry . Exporter ;
1213using OpenTelemetry . Resources ;
1314using OpenTelemetry . Trace ;
1415using Prometheus ;
@@ -112,6 +113,7 @@ public static void Main(string[] args)
112113 . AddHttpClientInstrumentation ( )
113114 . AddOtlpExporter ( opt =>
114115 {
116+ opt . Protocol = OtlpExportProtocol . HttpProtobuf ;
115117 var otlpUser = Environment . GetEnvironmentVariable ( "OTEL_EXPORTER_OTLP_AUTH_USER" ) ;
116118 var otlpPass = Environment . GetEnvironmentVariable ( "OTEL_EXPORTER_OTLP_AUTH_PASSWORD" ) ;
117119 if ( ! string . IsNullOrEmpty ( otlpUser ) && ! string . IsNullOrEmpty ( otlpPass ) )
You can’t perform that action at this time.
0 commit comments