Skip to content

Commit ebe2824

Browse files
authored
Merge pull request #146 from f5devcentral/development
Release v0.9.1
2 parents 8d62155 + d5ee954 commit ebe2824

File tree

7 files changed

+102
-30
lines changed

7 files changed

+102
-30
lines changed

COLLECTOR_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.9.0
1+
v0.9.1

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,15 @@ f5_plane_cpu_utilization_5s{}
295295

296296
This will impact data output in several dashboards/panels (denoted with description fields indicating as such).
297297

298+
You can disable attempts to collect bash information with `enable_bash_collection: false` at the appropriate level (global or device).
299+
300+
```yaml
301+
bigip/1:
302+
endpoint: https://10.0.0.1
303+
enable_bash_collection: false
304+
#...
305+
```
306+
298307
### Configure CA File
299308
AST expects a valid TLS cert bundle unless `tls.insecure_skip_verify` is
300309
set to true for each device. In order to mount and use your CA file, you must
@@ -361,7 +370,7 @@ special instructions / breaking changes.
361370
git stash
362371
git fetch --tags
363372
git pull origin main
364-
git checkout tags/RELEASE_VERSION #(e.g. tags/v0.9.0)
373+
git checkout tags/RELEASE_VERSION #(e.g. tags/v0.9.1)
365374
git stash pop
366375
# <merge any conflicts with your local changes>
367376
# <re-run config scripts>

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
- 7lc_network
2828

2929
otel-collector:
30-
image: ghcr.io/f5devcentral/application-study-tool/otel_custom_collector:v0.9.0
30+
image: ghcr.io/f5devcentral/application-study-tool/otel_custom_collector:v0.9.1
3131
restart: unless-stopped
3232
volumes:
3333
- ./services/otel_collector:/etc/otel-collector-config

pages/components/grafana/grafana.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,25 @@ JSON following these
5757
[instructions](https://grafana.com/docs/grafana/latest/dashboards/share-dashboards-panels/#export-a-dashboard-as-json).
5858

5959
You can save dashboard files under /services/grafana/provisioning/dashboards from the project root to
60-
automatically load them when the container is started.
60+
automatically load them when the container is started.
61+
62+
### Import AST Dashboards into Your Own Grafana Instance
63+
If you have your own (non-AST) Grafana instance and would like to display AST dashboards from your instance, follow these steps:
64+
65+
#### Connect your Grafana instance to the AST Prometheus instance.
66+
- In the menu bar on the left, click Connections >> Data sources.
67+
- If this is a new instance of Grafana, the “Add data source” button will appear in the middle of the screen. If this is an existing instance with pre-existing data sources, the button will be in the upper-right corner of the screen and will say “Add new data source”. Either way, click on it.
68+
- Select Prometheus from the list of data sources. You may have to scroll down or enter “prometheus” in the search bar.
69+
- Fill in a name (for example, “ast-prometheus”), and the URL/IP address to get to the Prometheus instance. (Unless the port for the AST instance of Prometheus was modified, it will be the default of 9090.)
70+
- The “Interval behaviour >> Scrape interval” is set to 15s by default. This will work but, if you want to save connections, you can set it to 60s.
71+
- Click the blue "Save & test" button and ensure you get the message, “Successfully queried the Prometheus API.” at the bottom of the screen.
72+
73+
#### Import the Dashboard Configuration
74+
- Click on “Dashboards” in the menu on the left.
75+
- Click the blue “New” button in the upper-right and, from the drop-down, select "Import".
76+
- If you have saved the dashboard you wish to import as a JSON file export, click on "Upload dashboard JSON file" and upload the JSON file you exported. If you just copied the JSON contents, you can paste it in the "Import via dashboard JSON model" box below.
77+
- Give the dashboard a name (under Name).
78+
- Under the Prometheus drop-down, select your Prometheus data source.
79+
- Click Import.
80+
81+
You will now see the new dashboard in your own Grafana instance.
Lines changed: 49 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
---
22
layout: page
3-
title: Configure DNS & GTM (Optional)
3+
title: Configure Optional Metrics
44
parent: Configuration Helper (Recommended)
55
grandparent: Configuration Management
66
nav_order: 6
77
---
88

9-
## DNS and GTM Metrics
9+
## Optional Metrics
1010

11-
By default, settings for the collection of DNS and GTM metrics are disabled. They add a relatively large number of
11+
By default, settings for the collection of some less common module metrics are disabled. They add a relatively large number of
1212
additional API calls, and since many devices may not have these features enabled, it was determined to
1313
make them 'opt in'.
1414

15-
1615
They can be enabled on a device by device basis (in `/config/bigip_receivers.yaml`),
1716
or globally (in `/config/ast_defaults.yaml`) as follows:
1817

@@ -27,12 +26,32 @@ Edit the `/config/bigip_receivers.yaml` and add the following data_types configs
2726
bigip/1:
2827
endpoint: https://10.0.0.1
2928
# ...
30-
# Enable DNS and/or GTM collection for this device:
29+
# Enable optional modules by setting any to true
3130
data_types:
31+
f5.apm:
32+
enabled: false
33+
f5.cgnat:
34+
enabled: false
3235
f5.dns:
33-
enabled: true
36+
enabled: false
37+
f5.dos:
38+
enabled: false
39+
f5.firewall:
40+
enabled: false
3441
f5.gtm:
35-
enabled: true
42+
enabled: false
43+
f5.policy.api_protection:
44+
enabled: false
45+
f5.policy.asm:
46+
enabled: false
47+
f5.policy.firewall:
48+
enabled: false
49+
f5.policy.ip_intelligence:
50+
enabled: false
51+
f5.policy.nat:
52+
enabled: false
53+
f5.profile.dos:
54+
enabled: false
3655
# ...
3756
```
3857

@@ -42,11 +61,31 @@ Edit the `/config/ast_defaults.yaml` and add the following data_types configs fo
4261
```yaml
4362
bigip_receiver_defaults:
4463
# ...
45-
# Enable DNS and/or GTM collection for all devices:
64+
# Enable optional modules for all devices:
4665
data_types:
66+
f5.apm:
67+
enabled: false
68+
f5.cgnat:
69+
enabled: false
4770
f5.dns:
48-
enabled: true
71+
enabled: false
72+
f5.dos:
73+
enabled: false
74+
f5.firewall:
75+
enabled: false
4976
f5.gtm:
50-
enabled: true
77+
enabled: false
78+
f5.policy.api_protection:
79+
enabled: false
80+
f5.policy.asm:
81+
enabled: false
82+
f5.policy.firewall:
83+
enabled: false
84+
f5.policy.ip_intelligence:
85+
enabled: false
86+
f5.policy.nat:
87+
enabled: false
88+
f5.profile.dos:
89+
enabled: false
5190
# ...
5291
```

pages/troubleshooting/troubleshooting.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,16 @@ hovering) and selecting 'Inspect > Query'
179179
* Are any queries to the BigIP timing or erroring out? Check the otel collector logs (`docker ps`) and
180180
the 'BigIP Collector Stats' dashboard at the top level of the Dashboards section in Grafana
181181

182-
## GTM and DNS Metrics Not Loading
182+
## GTM, DNS, ASM, APM, Firewall, NAT Metrics Not Loading
183183

184-
Metrics for DNS and GTM are disabled by default. See
184+
Metrics for GTM, DNS, ASM, APM, Firewall, NAT are disabled by default. See
185185
[Configuration > Configuration Helper (Recommended) > Configure DNS & GTM]({{ site.url }}{{ site.baseurl }}/config/config_helper/config_dns_gtm.html) for instructions to enable.
186+
187+
## Max API Tokens Reached For User
188+
189+
Several BigIP Bugs have been identified which can result in maximum tokens issued errors:
190+
191+
* [ID1787517](https://cdn.f5.com/product/bugtracker/ID1787517.html)
192+
* [ID1103369](https://cdn.f5.com/product/bugtracker/ID1103369.html)
193+
194+
v0.9.0 should prevent issues in ID1787517 from occuring on most systems. ID1103369 includes workaround steps for user encountering that issue.

services/grafana/provisioning/dashboards/bigip/fleet/fleet-inventory.json

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -385,14 +385,9 @@
385385
"mappings": [
386386
{
387387
"options": {
388-
"0": {
389-
"color": "#434344",
390-
"index": 0,
391-
"text": "Disabled"
392-
},
393-
"1": {
388+
"module-data": {
394389
"color": "dark-green",
395-
"index": 1,
390+
"index": 0,
396391
"text": "Enabled"
397392
}
398393
},
@@ -405,10 +400,6 @@
405400
{
406401
"color": "green",
407402
"value": null
408-
},
409-
{
410-
"color": "#EAB839",
411-
"value": 1
412403
}
413404
]
414405
}
@@ -476,7 +467,7 @@
476467
"columnField": "f5_module_name",
477468
"emptyValue": "zero",
478469
"rowField": "job",
479-
"valueField": "Value"
470+
"valueField": "dataType"
480471
}
481472
},
482473
{
@@ -668,19 +659,22 @@
668659
}
669660
],
670661
"refresh": "",
671-
"schemaVersion": 40,
662+
"schemaVersion": 39,
672663
"tags": [],
673664
"templating": {
674665
"list": [
675666
{
676667
"current": {},
668+
"hide": 0,
677669
"includeAll": false,
678670
"label": "Prometheus",
671+
"multi": false,
679672
"name": "datasource",
680673
"options": [],
681674
"query": "prometheus",
682675
"refresh": 1,
683676
"regex": "",
677+
"skipUrlSync": false,
684678
"type": "datasource"
685679
}
686680
]
@@ -693,6 +687,6 @@
693687
"timezone": "browser",
694688
"title": "Fleet Inventory",
695689
"uid": "bdpz4za42wnb4a",
696-
"version": 2,
690+
"version": 9,
697691
"weekStart": ""
698692
}

0 commit comments

Comments
 (0)