# SingleMetric

Type: SingleMetric

Contains a single metric consisting of several time intervals and counter values for those intervals including the last message date.

Schema: [SingleMetric](https://sourcey-ditto.pages.dev/http-api-doc/models/singlemetric.md)

- `PT1M` (required)
  Type: integer
  
  The counter containing how many messages were processed in the last minute
  
  Example:
  
  ```json
  0
  ```

- `PT1H` (required)
  Type: integer
  
  The counter containing how many messages were processed in the last hour
  
  Example:
  
  ```json
  42
  ```

- `PT24H` (required)
  Type: integer
  
  The counter containing how many messages were processed in the last 24 hours / last day
  
  Example:
  
  ```json
  46346
  ```

- `lastMessageAt` (required)
  Type: string
  
  The timestamp when the last message was processed
  
  Example:
  
  ```json
  "2019-01-21T08:57:24.710Z"
  ```