Skip to content

Weird metrics behaviour when Request Method:OPTIONS #4198

Closed
@celiovasconcelos

Description

@celiovasconcelos
@RequestMapping(value = "/search/{id}", method = { RequestMethod.GET })

When calling OPTIONS htttp://localhost:8080/search/142
This register two metrics with the @PathVariable value

somepackage.status.200.search.143.count
somepackage.gauge.response.search.143.value

I think that OPTIONS should have a special treatment.
Also, it would be nice to have a property to disable OPTION metrics in application.properties

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