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

Implementation of required Dashboards and Integration with Grafana Prometheus Cloud #29

Merged
merged 26 commits into from
Mar 21, 2024

Conversation

lorenzoronzani
Copy link
Collaborator

No description provided.

fix 🐞:  Removed the dfx stop inside the run_test_canister.sh script
…ry/prometheus/Dockerfile) to handle the problem that the prom/prometheus image doesn't substitute the env variables inside the prometheus.yml config file
…cker compose, so that I can use the prom/prometheus docker image
…the prometheus-prod.yml before starting the container
@lorenzoronzani
Copy link
Collaborator Author

Developed some Grafana dashboards:

  • Number of connected clients (realtime, groupped by hour/day)
  • Number of connected clients by canister id
  • Number of active pollers
  • Time to resolve tls
  • Time to open connection

Integrated the remote writer on prometheus server (always deployed) to send metrics on the Grafana prometheus cloud

Copy link
Member

@ilbertt ilbertt left a comment

Choose a reason for hiding this comment

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

Small changes discussed in the call today

@lorenzoronzani
Copy link
Collaborator Author

I made the minor changes requested during the call. Dashboard clients by hour/day sometimes have strange behavior, so keep an eye on it (when we have more data).

@lorenzoronzani lorenzoronzani requested a review from ilbertt March 20, 2024 15:07
Copy link
Member

@ilbertt ilbertt left a comment

Choose a reason for hiding this comment

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

Just a few minor fixes and we're good to go!

README.md Outdated Show resolved Hide resolved
scripts/start_local_docker_environment.sh Outdated Show resolved Hide resolved
scripts/start_prod_docker_environment.sh Outdated Show resolved Hide resolved
scripts/start_prod_docker_environment.sh Show resolved Hide resolved
scripts/stop_prod_docker_environment.sh Show resolved Hide resolved
src/ic-websocket-gateway/src/gateway_metrics.rs Outdated Show resolved Hide resolved
src/ic-websocket-gateway/src/client_session_handler.rs Outdated Show resolved Hide resolved
src/ic-websocket-gateway/src/client_session_handler.rs Outdated Show resolved Hide resolved
@lorenzoronzani lorenzoronzani requested a review from ilbertt March 21, 2024 13:39
@ilbertt ilbertt merged commit 366243f into main Mar 21, 2024
1 check passed
@ilbertt ilbertt deleted the lorenzo branch March 21, 2024 16:40
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