-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jaeger-influxdb: error in grpc server #277
Comments
When does this error occur? When you click "Find Traces"? If so, does it still happen if you set "Limit Results" to something small like 3? Pulling apart the error message from its JSON encoding, error message:
stack trace:
The looks like the InfluxDB Jaeger plugin gRPC handler fails to execute a SQL query because a "frame is too large". That frame error comes from the Golang HTTP2 library, indicating that a frame header size exceeds a limit whose default value is 24MB. The ADBC FlightSQL client doesn't expose this limit directly. It does have a config for an adjacent config value, Try this, tell me if the behavior changes:
|
What version of InfluxDB are you using? |
INFLUXDB_VERSION=2.7.1 and INFLUX_CLI_VERSION=2.7.3 |
Ah. InfluxDB 2.7 doesn't have a SQL query engine, so I'm surprised the gRPC client fails with "frame too large", it should fail earlier than that. Everything in this repository assumes InfluxDB 3.0. Currently, the best way to use InfluxDB 3.0 is with the Serverless product. The reasons for this requirement:
|
Hello @jacobmarble ,
I have this error running the image jacobmarble/jaeger-influxdb:latest
{"level":"error","ts":1693322424.6020224,"caller":"jaeger-influxdb/main.go:110","msg":"gRPC interceptor","error":"I/O: SqlState: \u0000\u0000\u0000\u0000\u0000, msg: rpc error: code = Unavailable desc = connection error: desc = \"error reading server preface: http2: frame too large\"","stacktrace":"main.run.func1\n\t/project/jaeger-influxdb/cmd/jaeger-influxdb/main.go:110\ngithub.com/jaegertracing/jaeger/proto-gen/storage_v1._SpanReaderPlugin_GetServices_Handler\n\t/go/pkg/mod/github.com/jaegertracing/jaeger@v1.47.0/proto-gen/storage_v1/storage.pb.go:1487\ngoogle.golang.org/grpc.(*Server).processUnaryRPC\n\t/go/pkg/mod/google.golang.org/grpc@v1.56.1/server.go:1337\ngoogle.golang.org/grpc.(*Server).handleStream\n\t/go/pkg/mod/google.golang.org/grpc@v1.56.1/server.go:1714\ngoogle.golang.org/grpc.(*Server).serveStreams.func1.1\n\t/go/pkg/mod/google.golang.org/grpc@v1.56.1/server.go:959"}
I have tried several versions but it doesn't work.
My docker compose is
jaeger-query:
image: jaegertracing/jaeger-query:1.45
stop_grace_period: 10s
ports:
- "16686:16686" # web UI
depends_on:
- jaeger-influxdb
environment:
LOG_LEVEL: info
SPAN_STORAGE_TYPE: grpc-plugin
GRPC_STORAGE_SERVER: jaeger-influxdb:17270
GRPC_STORAGE_CONNECTION_TIMEOUT: 30s
QUERY_HTTP_SERVER_HOST_PORT: :16686
ADMIN_HTTP_HOST_PORT: :16687
ADMIN_HTTP_TLS_ENABLED: false
QUERY_GRPC_TLS_ENABLED: false
QUERY_UI_CONFIG: /jaeger-ui-config.json
volumes:
- ./jaeger-ui-config.json:/jaeger-ui-config.json:ro
jaeger-influxdb:
image: jacobmarble/jaeger-influxdb:latest
ports:
- "17270:17270"
environment:
LOG_LEVEL: debug
LISTEN_ADDR: :17270
INFLUXDB_TIMEOUT: 30s
INFLUXDB_ADDR: influxdb:8086
INFLUXDB_TLS_DISABLE: true
INFLUXDB_TOKEN: influxuser-token
INFLUXDB_ORG: obs
INFLUXDB_BUCKET: telegraf
The text was updated successfully, but these errors were encountered: