Assumption: metrics collection relies on gRPC h2c.
Short-term solution: Add the metrics collection address into the egress policy of every actor needing to export metrics. This can be tedious. A default egress policy in ActorTemplate #1324 should help some. But if a Substrate cluster uses many different ActorTemplates, the metrics collection address needs to be added into all of them.
Long-term solution: Introduce a defaulting mechanism, which automatically adds the metrics collection address into the egress policy of every actor. This makes the assumption that every actor needs to export metrics, which may not hold.
cc Bowei Du (@bowei) Lior Lieberman (@LiorLieberman) Da Huang (@git286) Eitan Yarmush (@EItanya) Keith Mattix II (@keithmattix)
Assumption: metrics collection relies on gRPC h2c.
Short-term solution: Add the metrics collection address into the egress policy of every actor needing to export metrics. This can be tedious. A default egress policy in ActorTemplate #1324 should help some. But if a Substrate cluster uses many different ActorTemplates, the metrics collection address needs to be added into all of them.
Long-term solution: Introduce a defaulting mechanism, which automatically adds the metrics collection address into the egress policy of every actor. This makes the assumption that every actor needs to export metrics, which may not hold.
cc Bowei Du (@bowei) Lior Lieberman (@LiorLieberman) Da Huang (@git286) Eitan Yarmush (@EItanya) Keith Mattix II (@keithmattix)