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

Adds support for cf-deployment Prometheus metrics #970

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

klakin-pivotal
Copy link
Contributor

@klakin-pivotal klakin-pivotal commented Apr 28, 2022

WHAT is this change about?

This commit adds the variable and manifest parameters that will be required for future consumption by code to support the prom_scraper Prometheus metrics scraper.

This PR is intended to support the work that will be merged in these two PRs: cloudfoundry/capi-release#240 and cloudfoundry/cloud_controller_ng#2781 . You probably should merge this PR after those two get merged in to their primary branches, but it shouldn't cause any trouble if you merged this PR in before one or both of those got merged in.

What customer problem is being addressed? Use customer persona to define the problem e.g. Alana is unable to...

I believe that it's true that most of the rest of CF uses prom_scraper to gather metrics and Cloud Controller / CAPI is one of the last holdouts. This work is required to support the changes made to CC / CAPI to eventually migrate from StatsD to prom_scraper.

Please provide any contextual information.

Here is the CAPI Team's Tracker story that tracks the work: https://www.pivotaltracker.com/story/show/181067519 . That story tracks this Cloud Controller Github Issue: cloudfoundry/cloud_controller_ng#2648

Has a cf-deployment including this change passed cf-acceptance-tests?

  • YES
  • NO

Does this PR introduce a breaking change? Please take a moment to read through the examples before answering the question.

  • YES - please choose the category from below. Feel free to provide additional details.
  • NO

How should this change be described in cf-deployment release notes?

Update cf-deployment manifest to support work to switch over to prom_scraper. This supports work to address cloudfoundry/cloud_controller_ng#2648

Does this PR introduce a new BOSH release into the base cf-deployment.yml manifest or any ops-files?

  • YES - please specify
  • NO

Does this PR make a change to an experimental or GA'd feature/component?

  • experimental feature/component
  • GA'd feature/component

Please provide Acceptance Criteria for this change?

Acceptance criteria:

  • CAPI releases released prior to to Thursday, April 28th successfully pass cf-acceptance-tests.
  • CAPI releases released after the two PRs mentioned above have been merged in successfully pass cf-acceptance-tests, and our new Prometheus metrics appear in the firehose. After installing the Loggregator Firehose Plugin for the cf CLI, and targeting a running Cloud Foundry, run the following command, and wait for a minutes or two for output:
cf nozzle -n ValueMetric | grep --line-buffered cc_http_status_2XX

What is the level of urgency for publishing this change?

  • Urgent - unblocks current or future work
  • Slightly Less than Urgent

This allows us to get a capi release that supports the old metrics we were using and new Prometheus based metrics

Tag your pair, your PM, and/or team!

cc @dalvarado @moleske @MerricdeLauney @tjvman @sethboyles

This commit adds the variable and manifest parameters that will be
required for future consumption by code to support the `prom_scraper`
Prometheus metrics scraper.

Co-authored-by: Kenneth Lakin <[email protected]>
Co-authored-by: David Alvarado <[email protected]>
MerricdeLauney added a commit to cloudfoundry/cloud_controller_ng that referenced this pull request May 31, 2022
MerricdeLauney added a commit to cloudfoundry/capi-release that referenced this pull request May 31, 2022
This change is dependent on cloudfoundry/cf-deployment#970

This reverts commit 135f202, reversing
changes made to 577b772.
MerricdeLauney added a commit to cloudfoundry/capi-release that referenced this pull request May 31, 2022
This change is dependent on cloudfoundry/cf-deployment#970

This reverts commit 352de44.
MerricdeLauney added a commit to cloudfoundry/capi-release that referenced this pull request Jun 1, 2022
…metrics""

This reverts commit dd81216.
Once cloudfoundry/cf-deployment#970 has been
pulled in can we re-introduce this change
MerricdeLauney added a commit to cloudfoundry/cloud_controller_ng that referenced this pull request Jun 1, 2022
MerricdeLauney added a commit to cloudfoundry/cloud_controller_ng that referenced this pull request Jun 28, 2022
MerricdeLauney added a commit to cloudfoundry/capi-release that referenced this pull request Jun 28, 2022
…metrics""

This reverts commit dd81216.
Once cloudfoundry/cf-deployment#970 has been
pulled in can we re-introduce this change
@sethboyles sethboyles requested a review from ctlong July 12, 2022 18:26
Copy link
Member

@ctlong ctlong left a comment

Choose a reason for hiding this comment

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

LGTM

@ctlong ctlong merged commit e2b5d7b into cloudfoundry:develop Jul 13, 2022
will-gant pushed a commit to sap-contributions/cloud_controller_ng that referenced this pull request Dec 16, 2022
will-gant pushed a commit to sap-contributions/cloud_controller_ng that referenced this pull request Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants