-
Notifications
You must be signed in to change notification settings - Fork 55
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
feat: forester alerts + monitoring #1095
Conversation
1ab8249
to
54428b5
Compare
6af6b71
to
0ef25e8
Compare
• Prometheus metrics sender • Prometheus + AlertManager + PushGateway + Grafana configuration
0ef25e8
to
f796c2d
Compare
@@ -22,7 +20,71 @@ services: | |||
- PGADMIN_DEFAULT_PASSWORD=photon |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we make this an env variable?
(Same question for postgres login above.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we can, and probably should, it's just a default test value, it implies that the end user should replace it with something more secure
ports: | ||
- "3000:3000" | ||
environment: | ||
- GF_SECURITY_ADMIN_PASSWORD=admin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
env variable necessary?
queue_metric_update(epoch_info.epoch, num_tx_sent, chunk_duration).await; | ||
|
||
// TODO: consider do we really need WorkReport | ||
self.increment_processed_items_count(epoch_info.epoch, num_tx_sent) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that we could use it to push things to graphana but in once we have multiple foresters by different parties we should get the performed work from the ForesterEpochPda
s and the total performed work from the EpochPda
.
@@ -345,6 +361,7 @@ impl RpcConnection for SolanaRpcConnection { | |||
} | |||
|
|||
async fn get_slot(&mut self) -> Result<u64, RpcError> { | |||
println!("Calling get_slot"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we call info!
here?
Added:
• Tracing-based telemetry
• Prometheus metrics sender
• Prometheus + AlertManager + PushGateway + Grafana docker-compose configuration