| 1 | # OpenTelemetry Viewer Plugin Configuration |
| 2 | # This file configures the OpenTelemetry viewer plugin for Netdata |
| 3 | |
| 4 | journal: |
| 5 | # Paths to journal directories to watch and index. Multiple directories can |
| 6 | # be specified to monitor different journal sources. At least one path must |
| 7 | # be specified |
| 8 | paths: |
| 9 | - "@localstatedir_POST@/log/netdata/otel/v1" |
| 10 | |
| 11 | cache: |
| 12 | # Directory to store the hybrid cache (memory + disk backed by Foyer) |
| 13 | directory: "@cachedir_POST@/otel-signal-viewer" |
| 14 | |
| 15 | # Memory cache capacity (number of indexed journal files to keep in memory) |
| 16 | # Higher values improve query performance but use more RAM |
| 17 | memory_capacity: 1000 |
| 18 | |
| 19 | # Disk cache size (maximum size of the disk-backed cache) |
| 20 | # Higher values improve performance for large journal files |
| 21 | disk_capacity: "32MB" |
| 22 | |
| 23 | # Cache block size (size of individual cache blocks in Foyer) |
| 24 | block_size: "4MB" |
| 25 | |
| 26 | # Number of background workers for indexing journal files |
| 27 | # Default: number of CPU cores (auto-detected) |
| 28 | # Uncomment to override: |
| 29 | # workers: 4 |
| 30 | |
| 31 | # Queue capacity for pending indexing requests |
| 32 | # Controls backpressure on the indexing system |
| 33 | queue_capacity: 100 |
| 34 | |
| 35 | indexing: |
| 36 | # Maximum number of unique values to index per field. |
| 37 | # Fields with more unique values than this limit will have their indexing |
| 38 | # truncated to prevent unbounded memory growth. This protects against |
| 39 | # high-cardinality fields (e.g., MESSAGE with millions of unique values) |
| 40 | # causing memory exhaustion during indexing. |
| 41 | max_unique_values_per_field: 500 |
| 42 | |
| 43 | # Maximum payload size (in bytes) for field values to index. |
| 44 | # Field values with payloads larger than this limit will be skipped. |
| 45 | # This prevents field values with large payloads from consuming excessive memory. |
| 46 | max_field_payload_size: 100 |