# AgentStatsEvent

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#SCHEMA_REPRESENTATION)
- [ReceiverStats](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ReceiverStats)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ReceiverStats.SCHEMA_REPRESENTATION)
- [ProcessorStats](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ProcessorStats)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ProcessorStats.SCHEMA_REPRESENTATION)
- [ExporterStats](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ExporterStats)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ExporterStats.SCHEMA_REPRESENTATION)

| JSON representation |
|---|
| ``` { "startTime": string, "windowStartTime": string, "lastSuccessfulUploadTime": string, "agentId": string, "receiverStats": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ReceiverStats`) } ], "processorStats": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ProcessorStats`) } ], "exporterStats": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ExporterStats`) } ], "processCpuSeconds": string, "processMemoryRss": string, "processUptime": string } ``` |

| Fields ||
|---|---|
| `startTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` 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"`. |
| `windowStartTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` 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"`. |
| `lastSuccessfulUploadTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` 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"`. |
| `agentId` | `string (https://developers.google.com/discovery/v1/type-format format)` A base64-encoded string. |
| `receiverStats[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ReceiverStats`)`` |
| `processorStats[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ProcessorStats`)`` |
| `exporterStats[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/AgentStatsEvent#ExporterStats`)`` |
| `processCpuSeconds` | `string (https://developers.google.com/discovery/v1/type-format format)` |
| `processMemoryRss` | `string (https://developers.google.com/discovery/v1/type-format format)` |
| `processUptime` | `string (https://developers.google.com/discovery/v1/type-format format)` |

## ReceiverStats

| JSON representation |
|---|
| ``` { "name": string, "acceptedSpans": string, "refusedSpans": string } ``` |

| Fields ||
|---|---|
| `name` | `string` |
| `acceptedSpans` | `string (https://developers.google.com/discovery/v1/type-format format)` |
| `refusedSpans` | `string (https://developers.google.com/discovery/v1/type-format format)` |

## ProcessorStats

| JSON representation |
|---|
| ``` { "name": string, "acceptedSpans": string, "refusedSpans": string } ``` |

| Fields ||
|---|---|
| `name` | `string` |
| `acceptedSpans` | `string (https://developers.google.com/discovery/v1/type-format format)` |
| `refusedSpans` | `string (https://developers.google.com/discovery/v1/type-format format)` |

## ExporterStats

| JSON representation |
|---|
| ``` { "name": string, "acceptedSpans": string, "refusedSpans": string, "queueCapacity": string, "queueSize": string } ``` |

| Fields ||
|---|---|
| `name` | `string` |
| `acceptedSpans` | `string (https://developers.google.com/discovery/v1/type-format format)` |
| `refusedSpans` | `string (https://developers.google.com/discovery/v1/type-format format)` |
| `queueCapacity` | `string (https://developers.google.com/discovery/v1/type-format format)` |
| `queueSize` | `string (https://developers.google.com/discovery/v1/type-format format)` |