|
| 1 | +$defs: |
| 2 | + attributer_config: |
| 3 | + description: AttributerConfig is the configuration of a attributer |
| 4 | + type: object |
| 5 | + properties: |
| 6 | + attributes: |
| 7 | + type: object |
| 8 | + additionalProperties: |
| 9 | + $ref: expr_string_config |
| 10 | + basic_config: |
| 11 | + description: BasicConfig provides a basic implemention for an operator config. |
| 12 | + type: object |
| 13 | + properties: |
| 14 | + id: |
| 15 | + type: string |
| 16 | + type: |
| 17 | + type: string |
| 18 | + byte_size: |
| 19 | + type: integer |
| 20 | + x-customType: int64 |
| 21 | + expr_string_config: |
| 22 | + description: ExprStringConfig is a string that represents an expression |
| 23 | + type: string |
| 24 | + identifier_config: |
| 25 | + description: IdentifierConfig is the configuration of a resource identifier |
| 26 | + type: object |
| 27 | + properties: |
| 28 | + resource: |
| 29 | + type: object |
| 30 | + additionalProperties: |
| 31 | + $ref: expr_string_config |
| 32 | + input_config: |
| 33 | + description: InputConfig provides a basic implementation of an input operator config. |
| 34 | + type: object |
| 35 | + allOf: |
| 36 | + - $ref: attributer_config |
| 37 | + - $ref: identifier_config |
| 38 | + - $ref: writer_config |
| 39 | + output_config: |
| 40 | + description: OutputConfig provides a basic implementation of an output operator config. |
| 41 | + type: object |
| 42 | + allOf: |
| 43 | + - $ref: basic_config |
| 44 | + parser_config: |
| 45 | + description: ParserConfig provides the basic implementation of a parser config. |
| 46 | + type: object |
| 47 | + properties: |
| 48 | + body: |
| 49 | + x-pointer: true |
| 50 | + $ref: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry.field |
| 51 | + parse_from: |
| 52 | + $ref: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry.field |
| 53 | + parse_to: |
| 54 | + $ref: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry.rootable_field |
| 55 | + scope_name: |
| 56 | + x-pointer: true |
| 57 | + $ref: scope_name_parser |
| 58 | + severity: |
| 59 | + x-pointer: true |
| 60 | + $ref: severity_config |
| 61 | + timestamp: |
| 62 | + x-pointer: true |
| 63 | + $ref: time_parser |
| 64 | + trace: |
| 65 | + x-pointer: true |
| 66 | + $ref: trace_parser |
| 67 | + allOf: |
| 68 | + - $ref: transformer_config |
| 69 | + scope_name_parser: |
| 70 | + description: ScopeNameParser is a helper that parses severity onto an entry. |
| 71 | + type: object |
| 72 | + properties: |
| 73 | + parse_from: |
| 74 | + $ref: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry.field |
| 75 | + severity_config: |
| 76 | + description: SeverityConfig allows users to specify how to parse a severity from a field. |
| 77 | + type: object |
| 78 | + properties: |
| 79 | + mapping: |
| 80 | + type: object |
| 81 | + additionalProperties: |
| 82 | + x-customType: any |
| 83 | + overwrite_text: |
| 84 | + type: boolean |
| 85 | + parse_from: |
| 86 | + x-pointer: true |
| 87 | + $ref: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry.field |
| 88 | + preset: |
| 89 | + type: string |
| 90 | + span_id_config: |
| 91 | + type: object |
| 92 | + properties: |
| 93 | + parse_from: |
| 94 | + x-pointer: true |
| 95 | + $ref: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry.field |
| 96 | + time_parser: |
| 97 | + description: TimeParser is a helper that parses time onto an entry. |
| 98 | + type: object |
| 99 | + properties: |
| 100 | + layout: |
| 101 | + type: string |
| 102 | + layout_type: |
| 103 | + type: string |
| 104 | + location: |
| 105 | + type: string |
| 106 | + parse_from: |
| 107 | + x-pointer: true |
| 108 | + $ref: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry.field |
| 109 | + trace_flags_config: |
| 110 | + type: object |
| 111 | + properties: |
| 112 | + parse_from: |
| 113 | + x-pointer: true |
| 114 | + $ref: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry.field |
| 115 | + trace_id_config: |
| 116 | + type: object |
| 117 | + properties: |
| 118 | + parse_from: |
| 119 | + x-pointer: true |
| 120 | + $ref: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza/entry.field |
| 121 | + trace_parser: |
| 122 | + description: TraceParser is a helper that parses trace spans (and flags) onto an entry. |
| 123 | + type: object |
| 124 | + properties: |
| 125 | + span_id: |
| 126 | + x-pointer: true |
| 127 | + $ref: span_id_config |
| 128 | + trace_flags: |
| 129 | + x-pointer: true |
| 130 | + $ref: trace_flags_config |
| 131 | + trace_id: |
| 132 | + x-pointer: true |
| 133 | + $ref: trace_id_config |
| 134 | + transformer_config: |
| 135 | + description: TransformerConfig provides a basic implementation of a transformer config. |
| 136 | + type: object |
| 137 | + properties: |
| 138 | + if: |
| 139 | + type: string |
| 140 | + on_error: |
| 141 | + type: string |
| 142 | + allOf: |
| 143 | + - $ref: writer_config |
| 144 | + writer_config: |
| 145 | + description: WriterConfig is the configuration of a writer operator. |
| 146 | + type: object |
| 147 | + properties: |
| 148 | + output: |
| 149 | + type: array |
| 150 | + items: |
| 151 | + type: string |
| 152 | + allOf: |
| 153 | + - $ref: basic_config |
0 commit comments