Skip to content

Add support for promhttp  #417

@jeffreyyong

Description

@jeffreyyong

InstrumentHandlerResponseSize func(obs prometheus.ObserverVec, next http.Handler) http.Handler from the promhttp package takes in "http.Handler" and returns a "http.Handler" for instrumenting the response size. However, martini only has martini.Handler which makes it impossible to pass into the promhttp instrumentation function, I'm wondering if it's possible to use martini with prometheus promhttp?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions