GoogleCloudPlatform / GoogleCloudPlatform/cloud-logging-data-source-plugin
failed to run test query: list entries: timeout
- Dominant language
- TypeScript
- Stars
- 24
- Forks
- 17
- Avg merge
- 13h 11m
- Merged PRs (30d)
- 11
Description
When testing the datasource I get the following error:
failed to run test query: list entries: timeout
I have had similar problem also when connecting via python, and found I could use the the following switch to disable grpc:
#logging_client = logging.Client(project=project_id**, _use_grpc=0**)
Is there a way to disable grpc in the plugin?
My query works just fine since when I click on the View in Cloud Logging button I can see my data. This is just the connection method.
Contributor guide
Research direction
No files or tests are named. Start at the plugin's datasource connection and test-query path, reproduce the timeout, and inspect how the Google Cloud Logging client is initialized; done means the plugin can disable gRPC for this connection and the test query succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- google-cloud, grafana, typescript
- Domain
- api, backend, observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100