Filling in Method for Traces in Go Instrumentation
TLDR Timothy asked about filling in the method for traces in Go. vishal-signoz identified a workaround by changing the spankind to Internal, and shared a PR for the fix.
Feb 23, 2023 (9 months ago)
Timothy
05:39 PMAnkit
06:15 PMTimothy
06:18 PMAnkit
06:23 PMhttp.method
in span attributes, it should be shown at the column in trace filter page too IMOvishal-signoz
06:26 PMTimothy
06:29 PMvishal-signoz
06:33 PMYou can mask sensitive data.
Timothy
06:44 PMTimothy
06:47 PM{"timestamp":"2023-02-23T18:12:50.441997003Z","spanID":"4814d1557f673028","traceID":"606ab4ab46b4d0b4a101007573ca5d61","serviceName":"switch-manager-otel-dev-switch-manager","operation":"/prm-otel/switch-mgmt/switches/mac_address/{mac-address}/associate","durationNano":8651989367,"HttpMethod":"","method":"","statusCode":"200","RPCMethod":""}
This is the issue span
vishal-signoz
06:49 PMTimothy
06:53 PMvishal-signoz
07:04 PMMore details on opentelemetry spec: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/api.md#spankind
We are not recording this as normal http method and instead store it as external http method and thus not showing in the table.
Please create an issue in public repo we will investigate it further and fix it.
cc: Ankit
Timothy
07:07 PMTimothy
07:23 PMFeb 24, 2023 (9 months ago)
vishal-signoz
04:25 AMDid you manually instrument the app? Or using auto instrumentation?
Timothy
02:52 PMvishal-signoz
04:20 PMWe will merge a fix on this soon. (Here’s the PR: https://github.com/SigNoz/signoz-otel-collector/pull/105)
For now you can change the spankind.
SigNoz Community
Indexed 1023 threads (61% resolved)
Similar Threads
Issues with Signoz 10.2: Grouping, Missing Traces, and Capturing Requests
Anil reported issues with Signoz 10.2, including grouping, missing traces, and capturing requests. Srikanth suggested upgrading to a newer version. The issue was resolved after upgrading the node version to 18 and additional clarifications were provided.
Troubleshooting SigNoz Auto-Instrumentation Configuration
igor is having trouble configuring auto-instrumentation for Java applications using SigNoz, with traces not appearing in the SigNoz UI. Prashant advises to check logs of the otel sidecar, use service name for endpoint, verify supported libraries, and test with telemetrygen. However, the issue still persists.
Issue with Signoz Tracer on Python FastAPI Application
Snehanshu is experiencing an issue with the Signoz tracer on a Python FastAPI application which involves a large number of irrelevant spans. vishal-signoz suggested verifying the relevance of these spans and questioned about the type of instrumentation used by Snehanshu.
Headers in Monitoring HTTP Endpoints & Otel-Collector Error
Rohit asks about providing headers in monitoring HTTP endpoints and reports errors in otel-collector logs. Srikanth mentions headers are unsupported and requires more investigation for errors.
Resolving Signoz Query Service Error
Einav encountered an error related to a missing table in the Signoz service which was preventing data visibility in the UI. Srikanth guided them to restart specific components and drop a database table, which resolved the issue.