Skip to content

Feature/metrics exporter#226

Merged
marcpaget merged 11 commits into
developfrom
feature/metrics-exporter
May 7, 2026
Merged

Feature/metrics exporter#226
marcpaget merged 11 commits into
developfrom
feature/metrics-exporter

Conversation

@marcpaget

Copy link
Copy Markdown
Collaborator

No description provided.

mekererenate-web and others added 8 commits April 28, 2026 19:45
Removed global deployment mode for the service. This is removed in prod
…d add labels for cAdvisor and Node Exporter services
Configures persistent storage and port mapping for Prometheus,
updates scrape targets for web and API components, and exposes
Grafana via nginx for easier access. Enhances monitoring by
simplifying service discovery and enabling better local testing.

Co-authored-by: Copilot <copilot@github.com>
@codacy-production

codacy-production Bot commented May 7, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Comment thread docker-compose.monitoring.yml Outdated
- prometheus-storage:/prometheus
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "9090:9090"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Why do we need to expose the port?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

We don't actually, it's a leftover from local testing - can safely be removed/commented out

Comment thread docker-compose.monitoring.yml
Comment thread docker-compose.monitoring.yml
Comment thread nginx.develop.conf Outdated
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection "upgrade";
# }
location /grafana {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Comment this in

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Que?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Monitoring is not deployed locally be default. So i think it should be a comment. Else nginx will fail locally

@marcpaget marcpaget requested a review from sebsthiel May 7, 2026 13:02
@sebsthiel

Copy link
Copy Markdown
Owner

Could you also add the grafana dashboard that use these metrics to the pr?

marcpaget added 3 commits May 7, 2026 15:24
Comment out the grafana location block and proxy_pass directive.
Comment out Grafana proxy settings in Nginx config
Comment out the ports section for Prometheus service.
@sonarqubecloud

sonarqubecloud Bot commented May 7, 2026

Copy link
Copy Markdown

@marcpaget marcpaget merged commit 026aa7c into develop May 7, 2026
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