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: add ipfs metrics #165

Merged
merged 1 commit into from
Nov 2, 2023
Merged

feat: add ipfs metrics #165

merged 1 commit into from
Nov 2, 2023

Conversation

nathanielc
Copy link
Collaborator

Now we can separately see calls counts and durations to Ipfs operations directly. Instead of only the toplevel Kubo RPC API requests.

Now we can separately see calls counts and durations to Ipfs operations
directly. Instead of only the toplevel Kubo RPC API requests.
Copy link
Contributor

@AaronGoldman AaronGoldman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IpfsMetricsMiddleware does not feel very ergonomic. I feel like I could forget to update it during a change but looks good to get the info we want.

@nathanielc nathanielc added this pull request to the merge queue Nov 2, 2023
@nathanielc
Copy link
Collaborator Author

Yeah I want to make this middle metrics pattern generic. But that is going to take some thinking so for now I am just being very verbose about it. But no need to worry to forget about it, compiler will remind you :)

Merged via the queue into main with commit 5244802 Nov 2, 2023
4 checks passed
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.

2 participants