Monitor an application within a tenant #86
@ -51,12 +51,10 @@ impl<T: Topology + PrometheusApplicationMonitoring<CRDPrometheus>> Interpret<T>
|
|||||||
inventory: &Inventory,
|
inventory: &Inventory,
|
||||||
topology: &T,
|
topology: &T,
|
||||||
) -> Result<Outcome, InterpretError> {
|
) -> Result<Outcome, InterpretError> {
|
||||||
//TODO need to pass the receivers, rules, etc. to the config in a generic way that
|
|
||||||
|
|
||||||
topology
|
topology
|
||||||
.install_prometheus(
|
.install_prometheus(
|
||||||
&self.score.sender,
|
&self.score.sender,
|
||||||
&inventory,
|
inventory,
|
||||||
Some(self.score.receivers.clone()),
|
Some(self.score.receivers.clone()),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user