Discover Packages
github.com/etkecc/docker-registry-proxy
internal
metrics
package
Version:
v1.2.5
Opens a new window with list of versions in this module.
Published: Feb 12, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Auth increments the auth successes or failures counter
Cache increments the cache hits or misses counter
func Handler() echo.HandlerFunc
Handler returns an echo handler that writes prometheus metrics to the response
func Request(method, path string )
Request increments the total requests counter and the specific method counter
plus, it tries to parse image name from the URL path, and increments the specific image counter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.