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

[TT-9438] Add an option to enable Prometheus ServiceMonitor for /metrics endpoint #641

Merged
merged 4 commits into from
Jul 19, 2023

Conversation

buraksekili
Copy link
Member

@buraksekili buraksekili commented Jul 12, 2023

Description

This PR adds .Values.serviceMonitor option to helm chart in order ServiceMonitor to be enabled.

Related Issue

https://tyktech.atlassian.net/browse/TT-9438

Motivation and Context

Test Coverage For This Change

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). If PRing from your fork, don't come from your master!
  • Make sure you are making a pull request against our master branch (left side). Also, it would be best if you started your change off our latest master.
  • Make sure you are updating CHANGELOG.md based on your changes.
  • My change requires a change to the documentation.
    • If you've changed APIs, describe what needs to be updated in the documentation.
  • I have updated the documentation accordingly.
  • If you've changed API models, please update CRDs.
    • make manifests
    • make helm
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • Check your code additions will not fail linting checks:
    • gofmt -s -w .
    • go vet ./...
    • golangci-lint run

@buraksekili buraksekili marked this pull request as ready for review July 12, 2023 13:57
@buraksekili buraksekili requested a review from a team as a code owner July 12, 2023 13:57
@buraksekili buraksekili requested review from andrei-tyk and removed request for a team July 12, 2023 13:57
@caroltyk caroltyk changed the title Add an option to enable Prometheus ServiceMonitor for /metrics endpoint [TT-9444] Add an option to enable Prometheus ServiceMonitor for /metrics endpoint Jul 12, 2023
@caroltyk caroltyk changed the title [TT-9444] Add an option to enable Prometheus ServiceMonitor for /metrics endpoint Add an option to enable Prometheus ServiceMonitor for /metrics endpoint Jul 12, 2023
@buraksekili buraksekili changed the title Add an option to enable Prometheus ServiceMonitor for /metrics endpoint [TT-9438] Add an option to enable Prometheus ServiceMonitor for /metrics endpoint Jul 13, 2023
@sonarcloud
Copy link

sonarcloud bot commented Jul 18, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@singhpr singhpr merged commit a4fe8f9 into master Jul 19, 2023
14 checks passed
@singhpr singhpr deleted the feature/TT-9438/enable-metrics branch July 19, 2023 07:09
buger pushed a commit that referenced this pull request May 22, 2024
…rics` endpoint (#641)

* Add an option to enable prometheus servicemonitor for /metrics endpoint

Signed-off-by: Burak Sekili <[email protected]>

* Add an entry to CHANGELOG

Signed-off-by: Burak Sekili <[email protected]>

---------

Signed-off-by: Burak Sekili <[email protected]>
Co-authored-by: Pranshu <[email protected]>
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