Skip to content

Commit

Permalink
prep work for otel ts on big-ip
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcalalang committed Oct 23, 2023
1 parent d4a4711 commit 5cb851a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ jobs:
--extra-vars "BIGIPadminPassword=${{ secrets.BIGIP_PASSWORD }}"
--extra-vars "BIGIPAKSUsername=${{ secrets.BIGIP_AKS_USER }}"
--extra-vars "BIGIPAKSPassword=${{ secrets.BIGIP_AKS_PASSWORD }}"
--extra-vars "otel_host=${{ secrets.OTEL_HOST }}"
--extra-vars "otel_token=${{ secrets.OTEL_TOKEN }}"
# --verbose -vvvv
# Required, playbook filepath
playbook: "big-ip-playbook.yaml"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ Configuration and Infrastructure management of BIG-IP resources
| BIGIP_HOSTNAME |
| BIGIP_PASSWORD |
| BIGIP_USER |
| OTEL_HOST |
| OTEL_TOKEN |

- Terraform (Configuration)
- AS3 Application Declarations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,19 @@
"Poller"
]
},
"Azure_Consumer": {
"OpenTelemetry_Protobuf_secure": {
"class": "Telemetry_Consumer",
"type": "Azure_Log_Analytics",
"workspaceId": "9436f742-069a-4e29-aac0-e1258f7b1f87",
"passphrase": {
"cipherText": "lYJMCOrZ7cXOAuGNroHRaAnd6eJ65MoZvxRl6x4pZGyDPhcomX5sTraOzj8+45MzaecJ2yynBjQ2/zaHA9XyMw=="
}
"type": "OpenTelemetry_Exporter",
"host": "{{ otel_host }}",
"port": 55681,
"protocol": "https",
"headers": [
{
"name": "x-access-token",
"value": "{{ otel_token }}"
}
],
"convertBooleansToMetrics": false,
"exporter": "protobuf"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
when: state == "present"

- name: Prepare the TS declaration
template: src="../f5-automation-toolchain/ts/telemetryStreaming.template" dest="../f5-automation-toolchain/ts/telemetryStreaming.json"
template: src="../f5-automation-toolchain/ts/telemetryStreaming.tpl" dest="../f5-automation-toolchain/ts/telemetryStreaming.json"
delegate_to: localhost
when: state == "present"

Expand Down

0 comments on commit 5cb851a

Please sign in to comment.