hyperledger / aries-askar

Secure storage designed for Hyperledger Aries agents.
Apache License 2.0
58 stars 43 forks source link

Askar Performance Metrics #49

Open TheTechmage opened 2 years ago

TheTechmage commented 2 years ago

While working with @reflectivedevelopment, we have determined a need to gather performance metrics from Askar. Being able to toggle metrics on/off would help instill confidence to the codebase as well as help us to find where the actual performance issues lie (such as a slow postgres server rather than putting the blame on Askar). I am currently investigating different metric libraries, though I am new to the Rust landscape.

TheTechmage commented 2 years ago

I remember now that the original discussion was talking about using the datadog exporter for the opentelemetry project. https://crates.io/crates/opentelemetry Personally, I would prefer if things were more flexible than limiting to one plugin (possibly controlled via environment variables)