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

Count HTTP delegated routing calls by method and return 501 on PUT #55

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

masih
Copy link
Member

@masih masih commented Dec 14, 2022

Count the number of calls made to the HTTP delegated routing tagged by method.

Explicitly return 501 Not Implemented on PUT to /routing/v1/providers. This is to identify that putting provider records is not currently implemented by cid.contact.

Relates to:

Fixes #54

Count the number of calls made to the HTTP delegated routing tagged by
method.

Explicitly return `501 Not Implemented` on `PUT` to
`/routing/v1/providers`. This is to identify that putting provider
records is not currently implemented by `cid.contact`.

Relates to:
- ipfs/specs#337 (comment)

Fixes #54
@masih masih force-pushed the masih/metrics_http_deleg_routing_method branch from 9b035cf to 44cab9f Compare December 14, 2022 16:38
@masih masih requested a review from willscott December 14, 2022 16:38
@masih masih merged commit f62bd46 into main Dec 15, 2022
@masih masih deleted the masih/metrics_http_deleg_routing_method branch December 15, 2022 08:36
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.

Measure traffic volume on PUT requests to /routing/v1/*
2 participants