Repository navigation
feat(gcp): read-only access for every connection, metrics switch controls collection only #1477
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
Open
JeremyFunk
wants to merge
39
commits into
feat/gcp-promql-query
Choose a base branch
from
feat/gcp-live-query-access
base: feat/gcp-promql-query
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
32ffe23
feat(gcp): read-only access for every connection, metrics switch cont…
JeremyFunk 67376cb
feat(gcp): card, configure dialog and docs follow the key-metrics switch
JeremyFunk e314715
Merge remote-tracking branch 'origin/feat/gcp-promql-query' into feat…
JeremyFunk 02314ee
fix(gcp): review follow-ups for read-only access
JeremyFunk c1b098b
Merge remote-tracking branch 'origin/feat/gcp-promql-query' into feat…
JeremyFunk d48bac5
fix(gcp): set up without billing, noting that live queries need it
JeremyFunk 56b78df
chore(ios): regenerate the OpenAPI spec for the new GCP group descrip…
JeremyFunk 91b1320
fix(gcp): read-only access never blocks log forwarding
JeremyFunk a436b1f
Merge remote-tracking branch 'origin/feat/gcp-promql-query' into feat…
JeremyFunk 6c1966d
fix(gcp): harden the read-only access section
JeremyFunk d4e06db
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 6fec18d
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 2f67c9f
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 356069a
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk f9f1e33
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 6cb1518
Merge feat/gcp-promql-query into feat/gcp-live-query-access
JeremyFunk 11ac984
Merge remote-tracking branch 'origin/feat/gcp-promql-query' into HEAD
JeremyFunk dad42b1
feat(gcp): set a connection up with Terraform, and sign log pushes in…
JeremyFunk 666142a
Merge remote-tracking branch 'origin/feat/gcp-promql-query' into HEAD
JeremyFunk 03b24e8
fix(ci): raise the web bundle budget for #1477
JeremyFunk a3529f7
fix(ci): 1 KB headroom on the bundle budget; CI measures the PR merge…
JeremyFunk 004fef6
fix(ci): resolve the bundle budget merge
JeremyFunk 235ef6b
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 0f070c8
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk db4aa58
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 491ee88
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 7d6df5b
Merge remote-tracking branch 'origin/feat/gcp-promql-query' into feat…
JeremyFunk 44d36f9
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 39bbb31
Merge commit '479cea8e806ee08b9a5dcc0dc2bed564647710cf' into HEAD
JeremyFunk 31ec7a2
Merge commit 'e9046f5f50052790138a4a4a91a63555c9593141' into HEAD
JeremyFunk 1f64d36
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 99b54c3
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 18a14de
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk e5e0270
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk b3acbaf
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 6555809
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 84e4945
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 9047677
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk 336bb8f
Merge branch 'feat/gcp-promql-query' into feat/gcp-live-query-access
JeremyFunk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: Terraform module (Google Cloud) | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - "deploy/terraform-google-maple/**" | ||
| - ".github/workflows/terraform-google-maple.yml" | ||
| pull_request: | ||
| paths: | ||
| - "deploy/terraform-google-maple/**" | ||
| - ".github/workflows/terraform-google-maple.yml" | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| test: | ||
| name: Format, validate and plan against mocked providers | ||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| working-directory: deploy/terraform-google-maple | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6 | ||
| - uses: opentofu/setup-opentofu@a1320f892987e89d278cc92dc5adc984fb93aca4 # v2.0.2 | ||
| with: | ||
| tofu_version: 1.13.1 | ||
| - run: tofu fmt -recursive -check -diff | ||
| - run: tofu init -backend=false | ||
| - run: tofu validate | ||
| - run: tofu test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warning
check_accessreturns 409 whenstatus.metrics_availableistrueF1 · Warning · correctness
status.metricsAvailableis derived fromMAPLE_GCP_SERVICE_ACCOUNT_EMAIL(GcpConnectorService.ts:249) whileGcpPromQlService.checkAccessneedsMAPLE_GCP_SERVICE_ACCOUNT_KEYand fails withGcpPromQlUnavailableError, which this mapping rewrites toGcpMetricsUnavailableError(409). On a deployment that sets the email but not the key, the card and docs tell the admin live queries and the account check are available, then the check returns "Key-metrics collection is not available" — a 409 for an unrelated flag.🤖 Prompt to fix with an AI agent