Skip to content

FOUR-20916: Create a Dashboard for Monitoring#7850

Merged
caleeli merged 3 commits intografana-metricsfrom
feature/FOUR-20916
Jan 17, 2025
Merged

FOUR-20916: Create a Dashboard for Monitoring#7850
caleeli merged 3 commits intografana-metricsfrom
feature/FOUR-20916

Conversation

@rodriquelca
Copy link
Copy Markdown
Contributor

@rodriquelca rodriquelca commented Dec 20, 2024

Issue & Reproduction Steps

Describe the issue this ticket solves and describe how to reproduce the issue (please attach any fixtures used to reproduce the issue).

Solution

  • Create PrometheusMetricsManager class to manage the metrics
  • migrate the logic for metrics
  • add prometheus and grafana

How to Test

  • run
    composer install
    docker compose up -d
    see next available resources
    http://processmaker.test/metrics

prometheus
http://localhost:9090/targets
grafana

http://localhost:3000/

Related Tickets & Packages

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

@gitguardian
Copy link
Copy Markdown

gitguardian bot commented Dec 20, 2024

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@caleeli caleeli changed the base branch from epic/FOUR-20326 to epic/FOUR-20326_and_FOUR-20257 December 20, 2024 19:09
@caleeli caleeli self-requested a review December 20, 2024 19:57
Copy link
Copy Markdown
Contributor

@caleeli caleeli left a comment

Choose a reason for hiding this comment

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

Great code!

@caleeli caleeli changed the base branch from epic/FOUR-20326_and_FOUR-20257 to grafana-metrics January 17, 2025 14:38
@caleeli caleeli force-pushed the feature/FOUR-20916 branch from e956ffe to 800c3e8 Compare January 17, 2025 14:57
@processmaker-sonarqube
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@caleeli caleeli merged commit d7c99de into grafana-metrics Jan 17, 2025
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