-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔄 created local 'assets/sumologic-windows.yaml' from remote 'assets/s…
…umologic-windows.yaml'
- Loading branch information
sumologic-sanyaku-apps
committed
Aug 20, 2024
1 parent
7938776
commit 338f140
Showing
1 changed file
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
## This file is generated automatically and shouldn't be changed | ||
## All modifications should be put as separate files in conf.d subdirectory | ||
extensions: | ||
## Configuration for Sumo Logic Extension | ||
## Manages registration, heartbeats and authentication to Sumo Logic | ||
## ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/sumologicextension | ||
sumologic: | ||
installation_token: ${SUMOLOGIC_INSTALLATION_TOKEN} | ||
collector_credentials_directory: ${PROGRAMDATA}\Sumo Logic\OpenTelemetry Collector\data\credentials | ||
|
||
## Configuration for Health Check Extension | ||
## Health Check extension enables an HTTP url that can be probed to check the status of the OpenTelemetry Collector | ||
## ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/healthcheckextension | ||
health_check: | ||
endpoint: localhost:13133 | ||
|
||
## Configuration for File Storage Extension | ||
## The File Storage extension can persist state to the local file system | ||
## ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/storage/filestorage | ||
file_storage: | ||
compaction: | ||
directory: ${PROGRAMDATA}\Sumo Logic\OpenTelemetry Collector\data\file_storage | ||
on_rebound: true | ||
directory: ${PROGRAMDATA}\Sumo Logic\OpenTelemetry Collector\data\file_storage | ||
|
||
receivers: | ||
## Configuration for OTLP Receiver | ||
## Receives data via gRPC or HTTP using OTLP format. | ||
## ref: https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver/otlpreceiver | ||
otlp: | ||
protocols: | ||
grpc: | ||
endpoint: localhost:4317 | ||
http: | ||
endpoint: localhost:4318 | ||
|
||
exporters: | ||
## Configuration for Sumo Logic Exporter | ||
## This exporter supports sending logs, metrics and traces data to Sumo Logic. | ||
## ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.102.0/exporter/sumologicexporter | ||
sumologic: | ||
sending_queue: | ||
enabled: true | ||
storage: file_storage | ||
retry_on_failure: | ||
max_elapsed_time: 0 | ||
|
||
processors: | ||
## Configuration for Memory Limiter Processor | ||
## The memory_limiter processor is used to prevent out of memory situations on the collector. | ||
## ref: https://github.com/open-telemetry/opentelemetry-collector/tree/main/processor/memorylimiterprocessor | ||
memory_limiter: | ||
## check_interval is the time between measurements of memory usage for the | ||
## purposes of avoiding going over the limits. Defaults to zero, so no | ||
## checks will be performed. Values below 1 second are not recommended since | ||
## it can result in unnecessary CPU consumption. | ||
check_interval: 5s | ||
## Maximum amount of memory, in %, targeted to be allocated by the process heap. | ||
limit_percentage: 75 | ||
## Spike limit (calculated from available memory). Must be less than limit_percentage. | ||
spike_limit_percentage: 20 | ||
|
||
## Configuration for Batch Processor | ||
## The batch processor accepts records and places them into batches grouped by node and resource | ||
## ref: https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/batchprocessor | ||
batch: | ||
## Number of records after which a batch will be sent regardless of time | ||
send_batch_size: 1_024 | ||
## Time duration after which a batch will be sent regardless of size | ||
timeout: 1s | ||
|
||
## Configuration for Sumo Logic Schema Processor | ||
## The Sumo Logic Schema processor modifies the metadata on logs, metrics and traces sent to Sumo Logic | ||
## so that the Sumo Logic apps can make full use of the ingested data. | ||
## ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/sumologicprocessor | ||
sumologic: | ||
|
||
## Configuration for Resource Detection Processor | ||
## The resource detection processor can be used to detect resource information from the host, in a format that conforms to the | ||
## OpenTelemetry resource semantic conventions, and append or override the resource value in telemetry data with this information. | ||
## ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/resourcedetectionprocessor | ||
resourcedetection/system: | ||
detectors: ["system"] | ||
system: | ||
hostname_sources: ["dns", "os"] | ||
|
||
service: | ||
extensions: | ||
- sumologic | ||
- health_check | ||
- file_storage | ||
telemetry: | ||
metrics: | ||
address: localhost:8888 | ||
pipelines: | ||
metrics/default: | ||
receivers: | ||
- otlp | ||
processors: | ||
- memory_limiter | ||
- batch | ||
- sumologic | ||
exporters: | ||
- sumologic | ||
logs/default: | ||
receivers: | ||
- otlp | ||
processors: | ||
- memory_limiter | ||
- batch | ||
- sumologic | ||
exporters: | ||
- sumologic | ||
traces/default: | ||
receivers: | ||
- otlp | ||
processors: | ||
- memory_limiter | ||
- batch | ||
- sumologic | ||
exporters: | ||
- sumologic |