Skip to content

Commit 3287f1f

Browse files
committed
Update report.interval
1 parent c6462f4 commit 3287f1f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

specification/entities/entity-events.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,12 @@ change, or periodically to indicate the entity still exists.
8383
| `entity.id` | map<string, string> | Attributes that identify the entity. MUST not change during the lifetime of the entity. The map MUST contain at least one attribute. Keys and values MUST be strings. SHOULD follow OpenTelemetry [semantic conventions](https://github.com/open-telemetry/semantic-conventions) for attribute names. |
8484
| `entity.description` | map<string, AnyValue> | Descriptive (non-identifying) attributes of the entity. These attributes are not part of the entity's identity. Each Entity State event contains the complete current state of the entity's description. Follows [AnyValue](../common/README.md#anyvalue) definition: can contain scalar values, arrays, or nested maps. SHOULD follow OpenTelemetry [semantic conventions](https://github.com/open-telemetry/semantic-conventions) for attributes. |
8585
| `entity.relationships` | array of maps | Relationships to other entities. Each relationship is a map containing: `type` (string, describes the relationship), `entity.type` (string, the type of the related entity), and `entity.id` (map<string, string>, identifying attributes of the related entity). |
86-
| `report.interval` | int64 (milliseconds) | The reporting interval for this entity. MUST be a non-negative value. A value of `0` indicates that periodic reporting is disabled and only state changes will be reported. A positive value indicates the interval at which periodic state events will be emitted. Can be used by receivers to infer that a no longer reported entity is gone, even if the Entity Delete event was not observed. |
86+
87+
**Optional Attributes**:
88+
89+
| Attribute | Type | Description |
90+
| --------- | ---- | ----------- |
91+
| `report.interval` | int64 (seconds) | The reporting interval for this entity. MUST be a non-negative value when present. When absent, the reporting interval is unknown. A value of `0` indicates that no periodic heartbeat events will be sent. A positive value indicates the interval at which periodic state events will be emitted. Can be used by receivers to determine when to expect the next event and infer that an entity is gone if events stop arriving. |
8792

8893
**Timestamp Field**:
8994

@@ -256,7 +261,7 @@ LogRecord:
256261
version: "1.21"
257262
tier: frontend
258263
k8s.pod.phase: Running
259-
report.interval: 60000
264+
report.interval: 60
260265
entity.relationships:
261266
- relationship.type: scheduled_on
262267
entity.type: k8s.node

0 commit comments

Comments
 (0)