Package org.tailormap.api.controller
Class IngestMetricsController
java.lang.Object
org.tailormap.api.controller.IngestMetricsController
- All Implemented Interfaces:
TagNames
-
Field Summary
Fields inherited from interface org.tailormap.api.prometheus.TagNames
METRICS_APP_ID_TAG, METRICS_APP_LAYER_ID_TAG, METRICS_APP_NAME_TAG, METRICS_APP_REQUEST_COUNTER_NAME, METRICS_APP_TYPE_TAG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Serializable>
ingestMetric
(Application app, ViewerResponse.KindEnum viewerKind, AppTreeLayerNode appTreeLayerNode, String allowedMetric)
-
Constructor Details
-
IngestMetricsController
public IngestMetricsController()
-
-
Method Details
-
ingestMetric
@PutMapping(path="${tailormap-api.base-path}/{viewerKind}/{viewerName}/metrics/ingest/{appLayerId}/{allowedMetric}") public org.springframework.http.ResponseEntity<Serializable> ingestMetric(@ModelAttribute Application app, @ModelAttribute ViewerResponse.KindEnum viewerKind, @ModelAttribute AppTreeLayerNode appTreeLayerNode, @PathVariable String allowedMetric)
-