Commit Graph

21 Commits

Author SHA1 Message Date
Ryan McKinley
97258ca1eb
Chore: vscode devenv cleanup (#94290) 2024-10-14 16:37:04 +03:00
Kristina
aab83303da
Ensure running server from VSCode enables dev mode (#88986) 2024-06-10 10:30:03 -05:00
Gabriel MABILLE
5eecc01123
VSCode: Launch Grafana with Storage server (#88351)
* VSCode: Launch Grafana with Storage server

* Fix module_server_test
2024-05-29 10:02:35 +02:00
Prem Saraswat
196134b0b4
Storage Server: Avoid incorrect parsing of connection string (#85293)
Storage Server: avoid incorrect parsing of connection string

In storage server, a connection string is generated to connect to the
backing database. In case of Postgres, we were generating the string
like `"user=grafana pass= host=postgres.example port=4567"`.

This triggered an edge case in `pq` (the go postgres driver) to parse
`pass` to be equal to `host=postgres.example`, and host being reset to
default value.

Using single quotes in the connection string fixed this.

Signed-off-by: Prem Kumar <prem.saraswat@grafana.com>
2024-05-03 10:54:39 -04:00
Tom Ratcliffe
349df74578 Rename debug target to "UI" rather than Jest 2024-04-23 11:26:56 +01:00
Tom Ratcliffe
97b66c2a95 Apply prettier fixes to VSCode debug config 2024-04-23 11:26:56 +01:00
Tom Ratcliffe
37a86872db Remove port and add NODE_ENV to VSCode debug config 2024-04-23 11:26:56 +01:00
Charandas
0f1151964c
K8s: standalone authenticator that allows a type of downstream forwarding (#85130) 2024-03-28 20:52:28 +02:00
Ryan McKinley
e6fa367d02
k8s/query+ds: catch query errors, fix datasourceProvider and expose prometheus (#85071) 2024-03-25 17:22:34 +03:00
Ryan McKinley
91754bcda5
K8s: Refactor standalone apiserver initialization (#81932) 2024-02-06 08:40:35 -08:00
Charandas
87c3d3b029
K8s: add the CRD server to the grafana-aggregator component (pkg/cmd) (#80759) 2024-01-17 12:21:24 -08:00
Andres Martinez Gotor
0d1462cbbb
Add real instances to testdata standalone API server (#80473)
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2024-01-17 09:22:51 +01:00
Ryan McKinley
6be6724433
K8s/Testdata: Expose testdata in standalone apiserver (#80248) 2024-01-10 17:45:23 +02:00
Ryan McKinley
439edebcd6
K8s: fix standalone command and add hack scripts (#79052)
Co-authored-by: Charandas Batra <charandas.batra@grafana.com>
2023-12-05 14:31:49 -08:00
Andres Martinez Gotor
d54cda62a3
Add debug option for Golang tests in vscode (#61983) 2023-01-24 14:44:44 +01:00
Dan Cech
ed72b02b27
Chore: update vscode "Run Server" config for single-binary (#59237)
update vscode "Run Server" config for single-binary
2022-11-23 11:32:42 -05:00
Kyle Cunningham
05f630a566
Add VSCode launch configuration to debug in remote Chrome (#58108) 2022-11-03 21:08:38 +07:00
Zoltán Bedi
815ccb1a03
Chore: Fix Debug Jest test command for vscode (#45420) 2022-02-17 14:18:09 +01:00
Gabriel MABILLE
74ee5262e8
vscode: proposal to add current workdir to vscode config (#39088) 2022-02-04 09:18:40 +01:00
Zoltán Bedi
47a9613b3e
Dev: Add debug jest test to vscode launch (#39905) 2021-10-04 14:26:19 +02:00
Ryan McKinley
92dc6aed3f
Dev: include vscode launcher / debugger (#36360) 2021-07-07 00:05:30 -07:00