Skip to content

Commit

Permalink
feat: define tags for all observations (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone authored May 26, 2023
1 parent 7847ff9 commit 74becbe
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data-formats/df-001-httpt.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ probes always set this field to `null`.
"response_length": 1234,
"t0": 0.9,
"t": 1.0,
"tags": [],
"transaction_id": 1
}
```
Expand Down Expand Up @@ -77,6 +78,9 @@ the amount of time spent performing the operation);
measured in the moment in which `failure` is determined (`t - t0` gives you
the amount of time spent performing the operation);

- `tags` (`[]string`; optional): list of tags for this event. This is useful to
understand what part of a complex measurement generated an event.

- `transaction_id` (`int`; optional; since 2020-01-11): the set of operations
to which this event belongs to (typically an HTTP transaction or a DNS
round trip). A zero or missing value means we don't know the transaction
Expand Down
4 changes: 4 additions & 0 deletions data-formats/df-002-dnst.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ code. See this directory's [README](README.md) for the basic concepts.
"resolver_address": "8.8.8.8:53",
"t0": 1.007,
"t": 1.114,
"tags": [],
"transaction_id": 1,

// specified but unused or deprecated fields
Expand Down Expand Up @@ -95,6 +96,9 @@ the amount of time spent performing the operation);
measured in the moment in which `failure` is determined (`t - t0` gives you
the amount of time spent performing the operation);

- `tags` (`[]string`; optional): list of tags for this event. This is useful to
understand what part of a complex measurement generated an event.

- `transaction_id` (`int`; optional; since 2020-01-11): the set of operations
to which this event belongs to (typically an HTTP transaction or a DNS
round trip). A zero or missing value means we don't know the transaction
Expand Down
4 changes: 4 additions & 0 deletions data-formats/df-005-tcpconnect.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ basic concepts.
"status": {},
"t0": 1.011,
"t": 1.114,
"tags": [],
"transaction_id": 1,

// deprecated or unused fields
Expand Down Expand Up @@ -58,6 +59,9 @@ the amount of time spent performing the operation);
measured in the moment in which `failure` is determined (`t - t0` gives you
the amount of time spent performing the operation);

- `tags` (`[]string`; optional): list of tags for this event. This is useful to
understand what part of a complex measurement generated an event.

- `transaction_id` (`int`; optional; since 2020-01-11): the set of operations
to which this event belongs to (typically an HTTP transaction or a DNS
round trip). A zero or missing value means we don't know the transaction
Expand Down

0 comments on commit 74becbe

Please sign in to comment.