Skip to content

ru.cinimex.exporter.prometheus.metrics.MetricsManager.HTTPServer accessible for all kind of calls #190

@ouwe-knutselaar

Description

@ouwe-knutselaar

L.S.

I see in ru.cinimex.exporter.prometheus.metrics.MetricsManager.HTTPServer in lines 36 to 38 this:

        HttpHandler mHandler = new HTTPMetricHandler(registry);
        server.createContext("/", mHandler);
        server.createContext(url, mHandler);

This means that you put it open for all kind of URL's besides the one in the variable 'url'

Why is this done?

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