go-sensor icon indicating copy to clipboard operation
go-sensor copied to clipboard

:rocket: Go Distributed Tracing & Metrics Sensor for Instana

Results 12 go-sensor issues
Sort by recently updated
recently updated
newest added

This PR contains the fix for giving preference to the user set custom headers over the ones coming from the agent. So with this change the preference of custom headers...

bug

### Problem Description Dear team, As the doc mentioned in https://www.ibm.com/docs/en/instana-observability/225?topic=go-collector-common-operations#how-to-instrument-a-database-connection-created-with-sqlopen , it could instrument a database connection created with sql.Open(). And then I followed the instruction to do it...

bug

### Problem Description Observed: I set INSTANA_EXTRA_HTTP_HEADERS for my go-service to some value to collect additional headers, but it had no effect. Looking at https://github.com/instana/go-sensor/blob/master/agent.go#L367 it believe it is override...

bug

I'm using the go sensor with open tracing. Everything works OK apart from logging an error. What are the _magic_ tags I need to set to generate a log message...

This contribution adds a support wrapper for pgxpool. Two different execution models are supported. Pool is a direct wrapper of the underlying pgxpool Pool instance and just captures the query...

Currently if the host agent goes away and eventually comes back the Go sensor will properly re-announce when available but snapshot data is not resent on announce. Snapshot data will...

This PR introduces a new public `instana.ShutdownSensor()` function, responsible for cleaning up the internal global sensor reference. This is the first phase of a two phase refactoring. ### Why Although...

removed sensor startup on tests; commented a few tests not passing wi…

This PR introduces some refactoring by removing lengthy functions and making it more modular.

enhancement