You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deploy-coe-with-prometheus.md
+22-11Lines changed: 22 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,28 @@ Citrix ADC Observability Exporter has a push-gateway server that listens to port
6
6
7
7

8
8
9
-
## Configure Citrix ADC Observability Exporter
9
+
## Deploy Citrix ADC Observability Exporter
10
10
11
11
You can deploy Citrix ADC Observability Exporter using the YAML file. Based on your Citrix ADC deployment, deploy Citrix ADC Observability Exporter either outside or inside Kubernetes clusters. You can deploy Citrix ADC Observability Exporter as a pod inside the Kubernetes cluster or on Citrix ADC MPX or VPX appliance outside the cluster.
12
12
13
13
**Prerequisites**
14
14
15
15
- Ensure that you have a Kubernetes cluster with kube-dns or CoreDNS addon enabled.
16
16
17
-
In the following procedure, the YAML file is used to deploy Citrix ADC Observability Exporter in the Kubernetes *defauIt* namespace. If you want to deploy in a private namespace other than the *default*, edit the YAML file to specify the namespace.
17
+
Deploying Citrix ADC Observability Exporter with the Prometheus endpoint includes the following tasks:
18
18
19
-
Perform the following steps to deploy a sample webserver application:
19
+
- Deploy a sample application
20
+
- Deploy Citrix ADC CPX with support enabled for Citrix ADC Observability Exporter
21
+
- Deploy Prometheus and Grafana using YAML files
22
+
- Deploy Citrix ADC Observability Exporter using the YAML file
23
+
- Configure Citrix ADC to export metrics (optional)
24
+
- Configure Prometheus (optional) to pull telemetry data
25
+
- Configure Grafana
26
+
- Create Grafana visualization
27
+
28
+
### Deploy a sample application
29
+
30
+
The following is an example procedure for deploying a sample webserver application.
20
31
21
32
**Note**: If you have a pre-deployed web application, skip the steps from step 1 to step 3.
22
33
@@ -38,7 +49,7 @@ Perform the following steps to deploy a sample webserver application:
38
49
39
50
For more information about Annotations, see [Ingress annotations help](https://github.com/citrix/citrix-k8s-ingress-controller/blob/666d6267e5b09683740528c5e8dd46f16d7d16e0/docs/configure/annotations.md).
40
51
41
-
## Deploy Citrix ADC CPX with the Citrix ADC Observability Exporter support
52
+
###Deploy Citrix ADC CPX with support enabled for Citrix ADC Observability Exporter
42
53
43
54
You can deploy Citrix ADC CPX as a side car with the Citrix ADC Observability Exporter support enabled along with Citrix ingress controller. You can modify the Citrix ADC CPX YAML file `cpx-ingress-es.yaml` to include the configuration information that is required for the Citrix ADC Observability Exporter support.
44
55
@@ -52,7 +63,7 @@ You can deploy Citrix ADC CPX as a side car with the Citrix ADC Observability Ex
52
63
53
64
**Note**: If you have used a namespace other than *default*, change `coe-prometheus.default.svc.cluster.local to` to `coe-prometheus.<desired-namespace>.svc.cluster.local`.
54
65
55
-
## Deploy Prometheus and Grafana using YAML files
66
+
###Deploy Prometheus and Grafana using YAML files
56
67
57
68
To deploy Prometheus and Grafana using YAML files, perform the following steps:
58
69
@@ -64,7 +75,7 @@ To deploy Prometheus and Grafana using YAML files, perform the following steps:
64
75
65
76
**Note**: Prometheus and Grafana are deployed in the default namespace of the same Kubernetes cluster.
66
77
67
-
## Deploy Citrix ADC Observability Exporter using the YAML file
78
+
###Deploy Citrix ADC Observability Exporter using the YAML file
68
79
69
80
You can deploy Citrix ADC Observability Exporter using the YAML file. Download the YAML file from [coe-prometheus.yaml](https://raw.githubusercontent.com/citrix/citrix-observability-exporter/master/examples/prometheus/coe-prometheus.yaml).
70
81
@@ -74,9 +85,9 @@ To deploy Prometheus and Grafana using YAML files, perform the following steps:
74
85
75
86
**Note**: Modify the YAML file for Citrix ADC Observability Exporter if you have a custom namespace.
76
87
77
-
## Configure Citrix ADC to export metrics (optional)
88
+
###Configure Citrix ADC to export metrics (optional)
78
89
79
-
**Note**: If you do not use CIC to configure, then you can do the following manual configuration on your Citric ADC.
90
+
**Note**: If you do not use CIC to configure, then you can do the following manual configuration on your Citrix ADC.
80
91
81
92
You can manually configure Citrix ADCs to export metrics to the Citrix ADC Observability exporter. Specify the Citrix ADC Observability Exporter IP/FQDN address as an HTTP service and combine it to the default `ns_analytics_time_series_profile` analytics profile. Enable the metrics export and set the output mode to Prometheus.
82
93
@@ -86,7 +97,7 @@ To deploy Prometheus and Grafana using YAML files, perform the following steps:
86
97
add service coe_metric_collector_svc_192.168.1.102 COE_instance HTTP 5563
87
98
set analytics profile ns_analytics_time_series_profile -collector coe_metric_collector_svc_192.168.1.102 -Metrics ENABLED -OutputMode Prometheus
88
99
89
-
## Configure Prometheus (optional) to pull telemetry data
100
+
###Configure Prometheus (optional) to pull telemetry data
90
101
91
102
Prometheus services are available as Docker images on [Quay container registry](https://quay.io/) and Docker Hub.
92
103
@@ -101,11 +112,11 @@ To deploy Prometheus and Grafana using YAML files, perform the following steps:
101
112
static_configs:
102
113
- targets: ['192.168.1.102:5563']
103
114
104
-
## Configure Grafana
115
+
###Configure Grafana
105
116
106
117
In the current deployment, a Prometheus server has already been added as a data source. If you use an existing Prometheus server for the deployment, ensure to add the same as a data source on your Grafana. For more information, see [Grafana support for Prometheus](https://prometheus.io/docs/visualization/grafana/).
107
118
108
-
## Create Grafana visualization
119
+
###Create Grafana visualization
109
120
110
121
You can create a Grafana dashboard and select the key metrics and the visualization type that is suitable for the data.
0 commit comments