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

feat: Enable Prometheus sidecar in Cloud Run v2. #253

Merged
merged 18 commits into from
Nov 11, 2024

Conversation

tjy9206
Copy link
Contributor

@tjy9206 tjy9206 commented Oct 25, 2024

Enable Prometheus sidecar in Cloud Run v2. With the sidecar service we can view metrics for Cloud Run instances. Example:
image
image

@tjy9206 tjy9206 requested review from prabhu34, anamer, gtsorbo, q2w and a team as code owners October 25, 2024 16:57
@tjy9206 tjy9206 changed the title Enable Prometheus sidecar in Cloud Run v2. feat: Enable Prometheus sidecar in Cloud Run v2. Oct 25, 2024
Copy link
Collaborator

@q2w q2w left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add an example for prometheus use case!

modules/v2/main.tf Show resolved Hide resolved
modules/v2/main.tf Outdated Show resolved Hide resolved
modules/v2/main.tf Show resolved Hide resolved
modules/v2/metadata.yaml Outdated Show resolved Hide resolved
modules/v2/metadata.yaml Outdated Show resolved Hide resolved
modules/v2/metadata.yaml Outdated Show resolved Hide resolved
modules/v2/metadata.yaml Outdated Show resolved Hide resolved
modules/v2/metadata.yaml Outdated Show resolved Hide resolved
modules/v2/metadata.yaml Outdated Show resolved Hide resolved
modules/v2/metadata.yaml Outdated Show resolved Hide resolved
@tjy9206 tjy9206 requested a review from q2w October 30, 2024 17:43
Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @tjy9206

*/

module "cloud_run_v2" {
source = "tjy9206/cloud-run/google//modules/v2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: reminder to update

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the catch! Added a comment in the ticket as a reminder.

Should I wait this PR to be merged, create a version tag, and create a new PR to refer to that version? Or is there a recommended workflow for version controls like this?

modules/v2/variables.tf Outdated Show resolved Hide resolved
modules/v2/variables.tf Outdated Show resolved Hide resolved
Copy link
Collaborator

@q2w q2w left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modules/v2/main.tf Show resolved Hide resolved
modules/v2/main.tf Show resolved Hide resolved
modules/v2/main.tf Show resolved Hide resolved
@tjy9206 tjy9206 requested a review from q2w November 8, 2024 13:26
@q2w q2w enabled auto-merge (squash) November 11, 2024 15:47
@bharathkkb bharathkkb merged commit 214aa10 into GoogleCloudPlatform:main Nov 11, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants