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

✨ Expose Prometheus metrics #335

Merged
merged 1 commit into from
May 24, 2023
Merged

Conversation

mansam
Copy link
Collaborator

@mansam mansam commented May 17, 2023

By default, metrics are enabled and are available at :2112/metrics. To change the port, set the METRICS_PORT environment variable. To disable metrics, set METRICS_ENABLED to false.

  • Current number of applications in inventory
  • Count of tasks initiated
  • Count of assessments initiated
  • Count of issues exported to jira

Implements #305

* Current number of applications in inventory
* Count of tasks initiated
* Count of assessments initiated
* Count of issues exported to jira

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
@mansam mansam changed the title [WIP] Expose Prometheus metrics Expose Prometheus metrics May 23, 2023
@mansam mansam changed the title Expose Prometheus metrics :feature: Expose Prometheus metrics May 23, 2023
@mansam mansam changed the title :feature: Expose Prometheus metrics ✨ Expose Prometheus metrics May 23, 2023
@mansam mansam marked this pull request as ready for review May 23, 2023 13:29
Copy link
Contributor

@jortel jortel left a comment

Choose a reason for hiding this comment

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

Looks good!

@mansam mansam merged commit e6b9cb3 into konveyor:main May 24, 2023
mansam added a commit to mansam/tackle2-operator that referenced this pull request May 31, 2023
mansam added a commit to mansam/tackle2-operator that referenced this pull request May 31, 2023
Related to konveyor/tackle2-hub#335

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
mansam added a commit to konveyor/operator that referenced this pull request Jun 1, 2023
This exposes the Hub's prometheus metrics via an additional port on the
existing Hub service. This is necessary to properly implement
https://issues.redhat.com/projects/MTA/issues/MTA-402.

Related to konveyor/tackle2-hub#335

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
mansam added a commit to mansam/tackle2-operator that referenced this pull request Jun 1, 2023
This exposes the Hub's prometheus metrics via an additional port on the
existing Hub service. This is necessary to properly implement
https://issues.redhat.com/projects/MTA/issues/MTA-402.

Related to konveyor/tackle2-hub#335

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
mansam added a commit to konveyor/operator that referenced this pull request Jun 5, 2023
This exposes the Hub's prometheus metrics via an additional port on the
existing Hub service. This is necessary to properly implement
https://issues.redhat.com/projects/MTA/issues/MTA-402.

Related to konveyor/tackle2-hub#335

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
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.

2 participants