Skip to content

Commit b30d348

Browse files
authored
Merge pull request #53 from citrix/prometheus-fix
updated the prometheus specific changes
2 parents 11c3222 + 5cc8fe7 commit b30d348

1 file changed

Lines changed: 84 additions & 31 deletions

File tree

coe-on-standalone-linux.md

Lines changed: 84 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -26,43 +26,96 @@ Perform the following steps to deploy Citrix ADC Observability Exporter on a sta
2626
volumes:
2727
- ./lstreamd_default.conf:/var/logproxy/lstreamd/conf/lstreamd_default.conf:rw
2828
- ./cores/:/cores/:rw
29-
```
30-
31-
2. Create `lstreamd_default.conf` file with the required settings. The following is a sample configuration for the Elasticsearch endpoint speific deployment.
32-
33-
{
34-
"Endpoints": {
35-
"ES": {
36-
"ServerUrl": "elasticsearch.default.svc.cluster.local:9200",
37-
"IndexPrefix":"adc_coe",
38-
"IndexInterval": "daily",
39-
"RecordType": {
40-
"HTTP": "all",
41-
"TCP": "all",
42-
"SWG": "all",
43-
"VPN": "all",
44-
"NGS": "all",
45-
"ICA": "all",
46-
"APPFW": "none",
47-
"BOT": "none",
48-
"VIDEOOPT": "none",
49-
"BURST_CQA": "none",
50-
"SLA": "none",
51-
"MONGO": "none"
52-
},
53-
"ProcessAlways": "no",
54-
"ProcessYieldTimeOut": "500",
55-
"MaxConnections": "512",
56-
"ElkMaxSendBuffersPerSec": "64",
57-
"JsonFileDump": "no"
29+
```
30+
31+
**Note:** Currently the image tag `quay.io/citrix/citrix-observability-exporter:latest` corresponds to Citrix ADC Observability Exporter version 1.2.001 and not 1.4.001.
32+
33+
2. Create the `lstreamd_default.conf` file with the required settings.
34+
35+
- Following is a sample configuration for Elasticsearch endpoint specific deployment:
36+
37+
{
38+
"Endpoints": {
39+
"ES": {
40+
"ServerUrl": "elasticsearch.default.svc.cluster.local:9200",
41+
"IndexPrefix":"adc_coe",
42+
"IndexInterval": "daily",
43+
"RecordType": {
44+
"HTTP": "all",
45+
"TCP": "all",
46+
"SWG": "all",
47+
"VPN": "all",
48+
"NGS": "all",
49+
"ICA": "all",
50+
"APPFW": "none",
51+
"BOT": "none",
52+
"VIDEOOPT": "none",
53+
"BURST_CQA": "none",
54+
"SLA": "none",
55+
"MONGO": "none"
56+
},
57+
"ProcessAlways": "no",
58+
"ProcessYieldTimeOut": "500",
59+
"MaxConnections": "512",
60+
"ElkMaxSendBuffersPerSec": "64",
61+
"JsonFileDump": "no"
62+
}
63+
}
64+
}
65+
66+
- Following is a sample configuration for Elasticsearch endpoint specific deployment with Prometheus. For Citrix ADC Observability Exporter version 1.4.001, you should add `"PrometheusMode": "yes"` to the Elasticsearch `lstreamd_default.conf` file to enable Prometheus monitoring.
67+
68+
{
69+
"Endpoints": {
70+
"ES": {
71+
"ServerUrl": "elasticsearch.default.svc.cluster.local:9200",
72+
"IndexPrefix":"adc_coe",
73+
"IndexInterval": "daily",
74+
"RecordType": {
75+
"HTTP": "all",
76+
"TCP": "all",
77+
"SWG": "all",
78+
"VPN": "all",
79+
"NGS": "all",
80+
"ICA": "all",
81+
"APPFW": "none",
82+
"BOT": "none",
83+
"VIDEOOPT": "none",
84+
"BURST_CQA": "none",
85+
"SLA": "none",
86+
"MONGO": "none"
87+
},
88+
"ProcessAlways": "no",
89+
"ProcessYieldTimeOut": "500",
90+
"MaxConnections": "512",
91+
"ElkMaxSendBuffersPerSec": "64",
92+
"JsonFileDump": "no",
93+
"PrometheusMode": "yes"
94+
}
5895
}
59-
}
60-
}
96+
}
6197

6298
3. Run the `docker-compose up` command.
6399

64100
Citrix ADC Observability Exporter is deployed and exposed on port 5557 and port 5563 for Citrix ADC transaction data and metrics data respectively.
65101

102+
### Prometheus standalone deployment
103+
104+
For Citrix ADC observability exporter version 1.4.001, with Prometheus as the endpoint you need to use the following `lstreamd_default.conf` file configuration.
105+
106+
lstreamd_default.conf: |
107+
{
108+
"Endpoints": {
109+
"ZIPKIN": {
110+
"ServerUrl":"http://0.0.0.0:0",
111+
"RecordType":{},
112+
"PrometheusMode":"yes"
113+
}
114+
}
115+
}
116+
117+
For Citrix ADC observability exporter versions prior to 1.4.001, you can use the `lstream_default.conf` configuration provided in the [coe-prometheus.yaml](https://github.com/citrix/citrix-observability-exporter/blob/master/deployment/coe-prometheus.yaml) file.
118+
66119
## Integrate Citrix ADC with multiple Citrix ADC Observability Exporter instances manually
67120

68121
You can configure Citrix ADC Observability Exporter manually in Citrix ADC. Manual configuration is suitable for Citrix ADC in MPX and VPX form factors. We recommend deploying the Citrix ADC Observability Exporter in the automated way with the YAML file as described in the preceding sections.

0 commit comments

Comments
 (0)