Skip to content
This repository was archived by the owner on Apr 5, 2022. It is now read-only.
This repository was archived by the owner on Apr 5, 2022. It is now read-only.

For metrics/counters REST endpoint - standardize collection name for JSON response #10

@jvalkeal

Description

@jvalkeal

Originally from spring-attic/spring-cloud-dataflow#1639

metrics/counters?detailed=false and metrics/counters?detailed=should return same resource as it's defined on a class level as @ExposesResourceFor(CounterResource.class). As mentioned in dataflow ticket, json response has metricResourceList vs . counterResourceList.

I'm questioning if detailed parameters makes any sense as different assembler is just used not to show metric value even if metric value is already known(thus use of different resource to show it / not to show it).

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