You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, any pelikan server needs to create a large struct containing all the metrics individual systems need in order for the majority of the metrics functionality to work. It would be convenient if new metrics could be registered in a more distributed fashion so that main doesn't need to know about every metrics type.
On the other hand, main and other places - such as the admin server - still need to have a way to see all the metrics.
However, if all the relevant metrics are in rust then it should be possible to use the linkme crate to build a distributed array while still letting individual implementations access metrics as-if they were globals.
The text was updated successfully, but these errors were encountered:
Currently, any pelikan server needs to create a large struct containing all the metrics individual systems need in order for the majority of the metrics functionality to work. It would be convenient if new metrics could be registered in a more distributed fashion so that
main
doesn't need to know about every metrics type.On the other hand, main and other places - such as the admin server - still need to have a way to see all the metrics.
However, if all the relevant metrics are in rust then it should be possible to use the linkme crate to build a distributed array while still letting individual implementations access metrics as-if they were globals.
The text was updated successfully, but these errors were encountered: