Skip to content
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

Steampipe fails when connecting to insecure OpenTelemetry endpoints #419

Closed
pskrbasu opened this issue Feb 9, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@pskrbasu
Copy link
Contributor

pskrbasu commented Feb 9, 2024

telemetry.Init service 'steampipe-postgres-fdw', tracingEnabled: true, metricsEnabled: true
panic: failed to initialise telemetry: grpc: no transport security set (use grpc.WithTransportCredentials(insecure.NewCredentials()) explicitly or set credentials)

@pskrbasu pskrbasu added the bug Something isn't working label Feb 9, 2024
@pskrbasu pskrbasu changed the title Steampipe fails when STEAMPIPE_TELEMETRY is enabled Steampipe fails when connecting to insecure OpenTelemetry endpoints Feb 9, 2024
@pskrbasu
Copy link
Contributor Author

pskrbasu commented Feb 9, 2024

Steampipe issue: turbot/steampipe#4096
Plugin SDK fix: turbot/steampipe-plugin-sdk#694

@pskrbasu
Copy link
Contributor Author

pskrbasu commented Feb 9, 2024

@pskrbasu pskrbasu closed this as completed Feb 9, 2024
@Sangamesh-ts
Copy link

@pskrbasu Still seeing issue .
ENV set

export STEAMPIPE_OTEL_INSECURE=true
export STEAMPIPE_OTEL_LEVEL=ALL
 export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:16686/
Steampipe v0.21.7
➜  .steampipe steampipe query
Welcome to Steampipe v0.21.7
For more information, type .help
Warning: grpc: no transport security set (use grpc.WithTransportCredentials(insecure.NewCredentials()) explicitly or set credentials)

@pskrbasu
Copy link
Contributor Author

@Sangamesh-ts Are you seeing just the warning or is it still failing for you? I tried the same and it seems to be working for me(I get the warning as well). I can see the spans getting collected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants