---
title: "Retrieve aggregated action performance metrics"
method: GET
path: "/api/observability/metrics"
tags: ["Observability"]
---

# Retrieve aggregated action performance metrics

`GET /api/observability/metrics`

## Request

- Base URL: `https://api.cernion.de`
- URL: `https://api.cernion.de/api/observability/metrics`
- Auth: none declared

Returns per-action performance statistics captured at broker level for local and gateway-triggered Moleculer actions. Metrics include durations, success/error counts, and slow-action detection.

## Query parameters

- `service` string
- `action` string
- `status` 'success' | 'error'
- `limit` integer
- `sinceMinutes` integer
- `since` string, date-time
- `until` string, date-time
- `slowActionThresholdMs` integer
- `includeRaw` boolean
- `token` string

## Response `200`

Aggregated action metrics

- object
  - `count` integer
  - `generatedAt` string, date-time
  - `summary` object
  - `actions` object[]
  - `recent` object[]

---

[API](https://skmtc.dev/cernion/apis/cernion-energy-tools-api.md) · [All operations](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cernion/apis/cernion-energy-tools-api/revisions/cdb94473b538?raw)
