Skip to content

Commit 391e8bd

Browse files
authored
Merge branch 'main' into upgrade_collector_test_ver
2 parents 3ba958e + e26dffc commit 391e8bd

File tree

28 files changed

+214
-111
lines changed

28 files changed

+214
-111
lines changed

.github/workflows/otelcol-fips.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
needs: [ otelcol-fips ]
135135
strategy:
136136
matrix:
137-
WIN_VERSION: [ 2019, 2022 ]
137+
WIN_VERSION: [ 2022, 2025 ]
138138
fail-fast: false
139139
steps:
140140
- uses: actions/checkout@v4

.github/workflows/vuln-scans.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
needs: [ "binaries-windows_amd64" ]
160160
strategy:
161161
matrix:
162-
OS: [ windows-2019, windows-2022 ]
162+
OS: [ windows-2022, windows-2025 ]
163163
fail-fast: false
164164
env:
165165
PIP_CACHE_DIR: ${{ github.workspace }}/.cache/pip
@@ -181,8 +181,8 @@ jobs:
181181
$ErrorActionPreference = 'Stop'
182182
Copy-Item .\bin\otelcol_windows_amd64.exe .\cmd\otelcol\otelcol.exe
183183
Copy-Item .\dist\agent-bundle_windows_amd64.zip .\cmd\otelcol\agent-bundle_windows_amd64.zip
184-
if ("${{ matrix.OS }}" -eq "windows-2019") {
185-
$base_image = "mcr.microsoft.com/windows/servercore:ltsc2019"
184+
if ("${{ matrix.OS }}" -eq "windows-2025") {
185+
$base_image = "mcr.microsoft.com/windows/servercore:ltsc2025"
186186
} else {
187187
$base_image = "mcr.microsoft.com/windows/servercore:ltsc2022"
188188
}

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
## Unreleased
44

5+
### 🚩 Deprecations 🚩
6+
7+
- (Splunk) `Linux installer script`: Fluentd support has been deprecated and will be removed in a future release. ([#6264](https://github.com/signalfx/splunk-otel-collector/pull/6264))
8+
- Please use native OTel Collector receivers instead.
9+
- A common replacement for Fluentd's functionality is the [filelog receiver](https://help.splunk.com/en/splunk-observability-cloud/manage-data/available-data-sources/supported-integrations-in-splunk-observability-cloud/opentelemetry-receivers/filelog-receiver).
10+
Many common configuration examples of the `filelog` receiver can be found in the [logs_config_linux.yaml](https://github.com/signalfx/splunk-otel-collector/blob/87bee7ae45b08be8d143a758d0f7004fd92d8f60/cmd/otelcol/config/collector/logs_config_linux.yaml) file.
11+
12+
### 💡 Enhancements 💡
13+
14+
- (Splunk) Add an install property, `COLLECTOR_SVC_ARGS`, to the Windows MSI to
15+
configure the command-line arguments used to launch the collector service on Windows. ([#6268](https://github.com/signalfx/splunk-otel-collector/pull/6268))
16+
- (Splunk) `discovery` - Add more metrics that are enabled by default for the SQL Server receiver ([#6259](https://github.com/signalfx/splunk-otel-collector/pull/6259))
17+
518
## v0.126.0
619

720
This Splunk OpenTelemetry Collector release includes changes from the [opentelemetry-collector v0.126.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.126.0)

cmd/otelcol/config/collector/config.d.linux/receivers/sqlserver.discovery.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,20 @@
3737
# enabled: true
3838
# sqlserver.database.operations:
3939
# enabled: true
40+
# sqlserver.deadlock.rate:
41+
# enabled: true
42+
# sqlserver.lock.wait.count:
43+
# enabled: true
4044
# sqlserver.lock.wait.rate:
4145
# enabled: true
46+
# sqlserver.os.wait.duration:
47+
# enabled: true
4248
# sqlserver.page.buffer_cache.hit_ratio:
4349
# enabled: true
4450
# sqlserver.processes.blocked:
4551
# enabled: true
52+
# sqlserver.resource_pool.disk.operations:
53+
# enabled: true
4654
# sqlserver.resource_pool.disk.throttled.read.rate:
4755
# enabled: true
4856
# sqlserver.resource_pool.disk.throttled.write.rate:

deployments/ansible/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## ansible-v0.32.0
4+
5+
### 💡 Enhancements 💡
6+
7+
- Add support for the `splunk_otel_collector_command_line_args` option to
8+
configure the command line arguments for the Splunk OpenTelemetry Collector
9+
service.
10+
311
## ansible-v0.31.0
412

513
### 🛑 Breaking changes 🛑

deployments/ansible/molecule/custom_vars/converge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
splunk_service_user: custom-user
1313
splunk_service_group: custom-group
1414
splunk_memory_total_mib: 256
15+
splunk_otel_collector_command_line_args: "--discovery"
1516
gomemlimit: 230
1617
splunk_listen_interface: 1.2.3.4
1718
splunk_fluentd_config: /etc/otel/collector/fluentd/custom_fluentd.conf

deployments/ansible/molecule/custom_vars/verify.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@
4444
state: present
4545
check_mode: yes
4646

47+
- name: Assert OTELCOL_OPTIONS env var is set per splunk_otel_collector_command_line_args
48+
ansible.builtin.lineinfile:
49+
line: OTELCOL_OPTIONS=--discovery
50+
dest: /etc/otel/collector/splunk-otel-collector.conf
51+
state: present
52+
check_mode: yes
53+
4754
- name: Assert MY_CUSTOM_VAR1 env var is set
4855
ansible.builtin.lineinfile:
4956
line: MY_CUSTOM_VAR1=value1

deployments/ansible/roles/collector/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,16 @@ $> ansible-playbook playbook.yaml -e start_service=false
121121
`splunk_otel_collector_proxy_http` or `splunk_otel_collector_proxy_https` is
122122
defined. (**default:** `localhost,127.0.0.1,::1`)
123123

124+
- `splunk_otel_collector_command_line_args`: Command-line arguments to pass to the
125+
Splunk OpenTelemetry Collector. These will be added as arguments to the service
126+
command line.
127+
(**default:** `""`)
128+
129+
Example:
130+
```yaml
131+
splunk_otel_collector_command_line_args: "--discovery --set=processors.batch.timeout=10s"
132+
```
133+
124134
- `splunk_memory_total_mib`: Amount of memory in MiB allocated to the Splunk OTel
125135
Collector. (**default:** `512`)
126136

deployments/ansible/roles/collector/defaults/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ splunk_realm: us0
88

99
splunk_otel_collector_version: latest
1010

11+
# Command-line arguments to pass to the collector service.
12+
splunk_otel_collector_command_line_args: ""
13+
1114
# Set this variable to /etc/otel/collector/gateway_config.yaml on linux,
1215
# "Program Files\Splunk\OpenTelemetry Collector\gateway_config.yaml" on Windows
1316
# in order to deploy splunk-otel-collector in gateway mode.

deployments/ansible/roles/collector/templates/splunk-otel-collector.conf.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
OTELCOL_CONFIG={{ splunk_otel_collector_command_line_args }}
12
SPLUNK_CONFIG={{ splunk_otel_collector_config }}
23
SPLUNK_ACCESS_TOKEN={{ splunk_access_token }}
34
SPLUNK_REALM={{ splunk_realm }}

0 commit comments

Comments
 (0)