Skip to content

Commit

Permalink
Fix Tabbing (open-telemetry#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrod1598 authored Jun 25, 2021
1 parent 36b178a commit 98dece4
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 56 deletions.
26 changes: 13 additions & 13 deletions docs/operators/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Add a string to the body

```yaml
- type: add
field: key2
value: val2
field: key2
value: val2
```
<table>
Expand Down Expand Up @@ -63,8 +63,8 @@ Add a value to the body using an expression

```yaml
- type: add
field: key2
value: EXPR($.key1 + "_suffix")
field: key2
value: EXPR($.key1 + "_suffix")
```
<table>
Expand Down Expand Up @@ -105,9 +105,9 @@ Add an object to the body

```yaml
- type: add
field: key2
value:
nestedkey: nestedvalue
field: key2
value:
nestedkey: nestedvalue
```
<table>
Expand Down Expand Up @@ -150,8 +150,8 @@ Add a value to attributes

```yaml
- type: add
field: $attributes.key2
value: val2
field: $attributes.key2
value: val2
```
<table>
Expand Down Expand Up @@ -193,8 +193,8 @@ Add a value to resource

```yaml
- type: add
field: $resource.key2
value: val2
field: $resource.key2
value: val2
```
<table>
Expand Down Expand Up @@ -235,8 +235,8 @@ Add a value to resource using an expression

```yaml
- type: add
field: $resource.key2
value: EXPR($.key1 + "_suffix")
field: $resource.key2
value: EXPR($.key1 + "_suffix")
```
<table>
Expand Down
16 changes: 8 additions & 8 deletions docs/operators/copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Copy a value from the body to resource

```yaml
- type: copy
from: key
to: $resource.newkey
from: key
to: $resource.newkey
```
<table>
Expand Down Expand Up @@ -63,8 +63,8 @@ Copy a value from the body to resource
Copy a value from the body to attributes
```yaml
- type: copy
from: key2
to: $attributes.newkey
from: key2
to: $attributes.newkey
```
<table>
Expand Down Expand Up @@ -108,8 +108,8 @@ Copy a value from the body to attributes
Copy a value from attributes to the body
```yaml
- type: copy
from: $attributes.key
to: newkey
from: $attributes.key
to: newkey
```
<table>
Expand Down Expand Up @@ -156,8 +156,8 @@ Copy a value from attributes to the body
Copy a value within the body
```yaml
- type: copy
from: obj.nested
to: newkey
from: obj.nested
to: newkey
```
<table>
Expand Down
4 changes: 2 additions & 2 deletions docs/operators/flatten.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Flatten an object to the base of the body

```yaml
- type: flatten
field: key1
field: key1
```
<table>
Expand Down Expand Up @@ -70,7 +70,7 @@ Flatten an object within another object

```yaml
- type: flatten
field: wrapper.key1
field: wrapper.key1
```
<table>
Expand Down
24 changes: 12 additions & 12 deletions docs/operators/move.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ The `move` operator moves (or renames) a field from one location to another.
Rename value
```yaml
- type: move
from: key1
to: key3
from: key1
to: key3
```
<table>
Expand Down Expand Up @@ -61,8 +61,8 @@ Move a value from the body to resource

```yaml
- type: move
from: uuid
to: $resoruce.uuid
from: uuid
to: $resoruce.uuid
```
<table>
Expand Down Expand Up @@ -103,8 +103,8 @@ Move a value from the body to attributes

```yaml
- type: move
from: ip
to: $attributes.ip
from: ip
to: $attributes.ip
```
<table>
Expand Down Expand Up @@ -144,8 +144,8 @@ Move a value from the body to attributes
Replace the body with an individual value nested within the body
```yaml
- type: move
from: log
to: $body
from: log
to: $body
```
<table>
Expand Down Expand Up @@ -183,8 +183,8 @@ Replace the body with an individual value nested within the body
Remove a layer from the body
```yaml
- type: move
from: wrapper
to: $body
from: wrapper
to: $body
```
<table>
Expand Down Expand Up @@ -231,8 +231,8 @@ Remove a layer from the body
Merge a layer to the body
```yaml
- type: move
from: object
to: $body
from: object
to: $body
```
<table>
Expand Down
12 changes: 6 additions & 6 deletions docs/operators/remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The `remove` operator removes a field from a record.
Remove a value from the body
```yaml
- type: remove
field: key1
field: key1
```
<table>
Expand Down Expand Up @@ -57,7 +57,7 @@ Remove a value from the body
Remove an object from the body
```yaml
- type: remove
field: object
field: object
```
<table>
Expand Down Expand Up @@ -100,7 +100,7 @@ Remove an object from the body
Remove a value from attributes
```yaml
- type: remove
field: $attributes.otherkey
field: $attributes.otherkey
```
<table>
Expand Down Expand Up @@ -142,7 +142,7 @@ Remove a value from attributes
Remove a value from resource
```yaml
- type: remove
field: $resource.otherkey
field: $resource.otherkey
```
<table>
Expand Down Expand Up @@ -184,7 +184,7 @@ Remove a value from resource
Remove all resource fields
```yaml
- type: remove
field: $resource
field: $resource
```
<table>
Expand Down Expand Up @@ -227,7 +227,7 @@ Remove all resource fields
Remove all attributes
```yaml
- type: remove
field: $attributes
field: $attributes
```
<table>
Expand Down
30 changes: 15 additions & 15 deletions docs/operators/retain.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Retain fields in the body

```yaml
- type: retain
fields:
- key1
- key2
fields:
- key1
- key2
```
<table>
Expand Down Expand Up @@ -68,8 +68,8 @@ Retain an object in the body

```yaml
- type: retain
fields:
- object
fields:
- object
```
<table>
Expand Down Expand Up @@ -114,9 +114,9 @@ Retain fields from resource

```yaml
- type: retain
fields:
- $resource.key1
- $resource.key2
fields:
- $resource.key1
- $resource.key2
```
<table>
Expand Down Expand Up @@ -164,9 +164,9 @@ Retain fields from attributes

```yaml
- type: retain
fields:
- $attributes.key1
- $attributes.key2
fields:
- $attributes.key1
- $attributes.key2
```
<table>
Expand Down Expand Up @@ -213,10 +213,10 @@ Retain fields from all sources

```yaml
- type: retain
fields:
- $resource.key1
- $attributes.key3
- key5
fields:
- $resource.key1
- $attributes.key3
- key5
```
<table>
Expand Down

0 comments on commit 98dece4

Please sign in to comment.