Brian Richardson
06/26/2023, 8:13 PM~ » kubectl -n telemetry run troubleshoot --image=signoz/troubleshoot \ ~
--restart='Never' -i --tty --rm --command -- ./troubleshoot checkEndpoint \
--endpoint=signoz-otel-collector.telemetry.svc.cluster.local:4317
2023-06-26T20:12:26.069Z INFO troubleshoot/main.go:28 STARTING!
2023-06-26T20:12:26.070Z INFO checkEndpoint/checkEndpoint.go:41 checking reachability of SigNoz endpoint
2023-06-26T20:12:26.093Z INFO troubleshoot/main.go:46 Successfully sent sample data to signoz ...
pod "troubleshoot" deleted
~ » kubectl -n telemetry run troubleshoot --image=signoz/troubleshoot \ ~
--restart='Never' -i --tty --rm --command -- ./troubleshoot checkEndpoint \
--endpoint=<http://dev-otel.olympiafinancial.com:4317|dev-otel.olympiafinancial.com:4317>
2023-06-26T20:12:32.731Z INFO troubleshoot/main.go:28 STARTING!
2023-06-26T20:12:32.731Z INFO checkEndpoint/checkEndpoint.go:41 checking reachability of SigNoz endpoint
2023-06-26T20:12:32.739Z INFO troubleshoot/main.go:46 Successfully sent sample data to signoz ...
pod "troubleshoot" deleted
Srikanth Chekuri
06/26/2023, 8:22 PMBrian Richardson
06/26/2023, 8:29 PMbuilder.Services.AddOpenTelemetry()
.WithTracing(trace =>
trace.AddAspNetCoreInstrumentation()
.ConfigureResource(resource =>
resource.AddService(
serviceName: serviceName,
serviceVersion: serviceVersion))
.AddOtlpExporter(otlp =>
{
otlp.Endpoint = new Uri($"http://{builder.Configuration["Otel:Collector"]}");
otlp.Protocol = OtlpExportProtocol.Grpc;
}));