Grafana GCX (CLI)
Notes
no notes yet
Release notes
v1.3.0
Breaking changes
- Credential storage now fails closed when the OS keychain is unavailable, instead of writing to the config file in plaintext with a warning. You will now see a
Keychain unavailableerror in this scenario. A locked, as opposed to absent, keychain already failed closed and is unchanged. SetGCX_KEYCHAIN=offto opt in to a plaintext write. (#1271) - Fleet Management permissions have changed: A grafana.com Cloud Access Policy token is no longer needed for interacting with
gcx fleet. gcx will needwritepermissions when using the OAuth flow for allgcx fleetcommands. Users will needgrafana-collector-app:readfor named routes, and wildcard routes need the Admin role orgrafana-collector-app:admin, including some read-only commands such astenant get-limits. (#1261) gcx synthetic-monitoring probes deployemits different manifests, and the probe token is now provided through a Kubernetes Secret, defined by theSM_AGENT_API_TOKENenvironment variable. To use this, regenerate the manifests and update anything that read the token out of the Deployment arguments before applying. Using--tokenstill works but it is deprecated and hidden from help (#1262)gcx synthetic-monitoring probes reset-tokennow returns the new token value instead of just confirming the reset. The value is ingcx.synth.probe_token_reset. Anything parsing the previous result shape needs updating (#1262)gcx irm oncall schedules list-final-shiftstakes a--timezoneflag and sends the timezone of the schedule, rather than the host. Without the--timezoneflag it now uses the schedule's timezone, falling back to UTC with a warning if the schedule does not have a timezone set. (#1187)
Datasources and queries
- Add BigQuery, MSSQL, and OpenSearch datasource support (#1106, #1059, #1252)
- Add
gcx profiles seriesfor series discovery (#1086) - Add
-o dotcall-graph output togcx profiles query(#1122) - Add the experimental
gcx traces baselinecommand (#1168) - Require an Explore link on every query command (#1134)
Alerting and IRM
- Add
gcx alert state-historyand notification history (#1296, #1258) - Add
gcx irm incidents update, and honour incident severity (#1191) - Let a discovery command list its own catalog (#1193)
alert-groups list --limit 0now returns every alert group (#1213)
Configuration and credentials
- Add the trusted
credentials.keychainpolicy (#1266) - Add
GCX_KEYCHAINto disable the OS credential store (#1242) - Make configuration load and write parameters explicit (#1272)
Agent Observability and Instrumentation
- Add
gcx agento11y experiments pullfor experiment bundles (#1267) - Add
gcx agento11y rules list-scoresfor online scores (#1226) - Add
--fix-plantogcx instrumentation check(#1115)
Telemetry
- Break down
apicommand usage by route, method, and type (#1094) - Report HTTP status, Kubernetes reason, and authentication method (#1118)
- Report a canceled invocation with the outcome
canceled(#1109)
Fixes
create -fandupdate -faccept the K8s envelope that gcx itself prints, instead of discarding every field of the file (#1187)--jqnow works together with-o agents(#1287)- Normalize unstructured jq numbers (#1235)
- Faro sends
extraLogLabelsunder thelabelfield (#1238) - Browser checks keep their notification channels (#1299)
Other
- Render provider tables with one generic codec (#1274, #1285, #1286, #1289)
- Add declarative provider registration machinery (#931)
- Set the manager identity from the gcx version (#1166)
- Enforce the command naming conventions in CI (#1243)
- Upgrade the Bubble Tea stack to v2 (#1253)
- Refine the Grafana investigation skill (#1279, #1292)
- Define how to mark an experimental command (#1220)
- Update CONTRIBUTING, and add skill references (#1304, #1280)