Skip to content
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(keychain-vault): add prometheus exporter #659

Merged
merged 1 commit into from
Mar 23, 2021

Conversation

jagpreetsinghsasan
Copy link
Contributor

@jagpreetsinghsasan jagpreetsinghsasan commented Mar 12, 2021

Commit to be reviewed

feat(keychain-vault): add prometheus metrics

Primary Change
--------------

1. The keychain-vault plugin now includes the prometheus metrics exporter integration
2. OpenAPI spec now has api endpoint for the getting the prometheus metrics

Refactorings that were also necessary to accomodate 1) and 2)
------------------------------------------------------------

3. GetPrometheusMetricsV1 class is created to handle the corresponding api endpoint
4. IPluginKeychainVaultOptions interface in PluginKeychainVault class now has a prometheusExporter optional field
5. The PluginKeychainMemory class has relevant functions and codes to incorporate prometheus exporter
6. Added Readme.md on the prometheus exporter usage

Resolve #536

Signed-off-by: Jagpreet Singh Sasan jagpreet.singh.sasan@accenture.com

takeutak
takeutak previously approved these changes Mar 15, 2021
	Primary Change
	--------------

	1. The keychain-vault plugin now includes the prometheus metrics exporter integration
	2. OpenAPI spec now has api endpoint for the getting the prometheus metrics

	Refactorings that were also necessary to accomodate 1) and 2)
	------------------------------------------------------------

	3. GetPrometheusMetricsV1 class is created to handle the corresponding api endpoint
	4. IPluginKeychainVaultOptions interface in PluginKeychainVault class now has a prometheusExporter optional field
	5. The PluginKeychainMemory class has relevant functions and codes to incorporate prometheus exporter
	6. Added Readme.md on the prometheus exporter usage

	Fixes hyperledger-cacti#536

Signed-off-by: Jagpreet Singh Sasan <jagpreet.singh.sasan@accenture.com>
@petermetz petermetz merged commit fea547f into hyperledger-cacti:main Mar 23, 2021
@petermetz petermetz deleted the feature-536 branch March 23, 2021 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(keychain-vault): add prometheus metrics support to the OpenAPI specs of the plugin
3 participants