# JobMetrics

- [JSON representation](https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/JobMetrics#SCHEMA_REPRESENTATION)

JobMetrics contains a collection of metrics describing the detailed progress of a Dataflow job. Metrics correspond to user-defined and system-defined metrics in the job. For more information, see [Dataflow job metrics](https://cloud.google.com/dataflow/docs/guides/using-monitoring-intf).

This resource captures only the most recent values of each metric; time-series data can be queried for them (under the same metric names) from Cloud Monitoring.

| JSON representation |
|---|
| ``` { "metricTime": string, "metrics": [ { object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/MetricUpdate`) } ] } ``` |

| Fields ||
|---|---|
| `metricTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Timestamp as of which metric values are current. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `metrics[]` | ``object (`https://docs.cloud.google.com/dataflow/docs/reference/rest/v1b3/MetricUpdate`)`` All metrics for this job. |