Skip to content

Commit 3bc254b

Browse files
committed
Fix instrumentation variables, taken from PR signalfx#6265
1 parent f03dc7a commit 3bc254b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

deployments/ansible/molecule/with_instrumentation/converge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
splunk_access_token: fake-token
88
splunk_realm: fake-realm
99
install_splunk_otel_auto_instrumentation: true
10-
splunk_otel_auto_instrumentation_version: 0.50.0
10+
splunk_otel_auto_instrumentation_version: 0.126.0
1111
splunk_otel_auto_instrumentation_resource_attributes: deployment.environment=test
1212
splunk_otel_auto_instrumentation_service_name: test
1313
splunk_otel_auto_instrumentation_generate_service_name: false

deployments/ansible/molecule/with_instrumentation/verify.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
- name: Assert specified version of splunk-otel-auto-instrumentation is installed
1717
assert:
18-
that: ansible_facts.packages['splunk-otel-auto-instrumentation'][0].version == '0.50.0'
18+
that: ansible_facts.packages['splunk-otel-auto-instrumentation'][0].version == '0.126.0'
1919

2020
- name: Check for the new config files
2121
ansible.builtin.stat:
@@ -26,9 +26,9 @@
2626
- /etc/splunk/zeroconfig/dotnet.conf
2727
register: new_config_files
2828

29-
- name: Assert the new config files do not exist
29+
- name: Assert the new config files exist
3030
assert:
31-
that: not item.stat.exists
31+
that: item.stat.exists
3232
loop: "{{ new_config_files.results }}"
3333

3434
- name: Check for systemd drop-in file
@@ -60,7 +60,7 @@
6060

6161
- name: Assert instrumentation config contains resource attribute
6262
ansible.builtin.lineinfile:
63-
line: resource_attributes=splunk.zc.method=splunk-otel-auto-instrumentation-0.50.0,deployment.environment=test
63+
line: resource_attributes=splunk.zc.method=splunk-otel-auto-instrumentation-0.126.0,deployment.environment=test
6464
dest: /usr/lib/splunk-instrumentation/instrumentation.conf
6565
state: present
6666
check_mode: yes

deployments/ansible/roles/collector/tasks/linux_auto_instrumentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
and auto_instrumentation_version is version('0.87.0', '>=') }}"
3434
with_dotnet: "{{ 'dotnet' in (splunk_otel_auto_instrumentation_sdks | default([])) \
3535
and auto_instrumentation_version is version('0.99.0', '>=') \
36-
and ansible_architecture in ('x86_64', 'amd64') }}"
36+
and ansible_architecture in ('x86_64', 'amd64', 'aarch64') }}"
3737

3838
- name: Check for npm
3939
shell: npm --version

0 commit comments

Comments
 (0)