Garry Cyre Posted November 8, 2023 Share Posted November 8, 2023 Hi All I'm looking to install COE alongside our CIC and have a few questions. I assume I can just deploy these yamls and use our existing Prometheus cluster. Then update our current CIC. to use the new configmap?https://github.com/netscaler/netscaler-observability-exporter/blob/master/examples/prometheus/cic-configmap.yamlhttps://github.com/netscaler/netscaler-observability-exporter/blob/master/examples/prometheus/coe-prometheus.yamlis there any configuration needed on the ADC? Some of the docs show some "ingress.citrix.com/analyticsprofile" is there a better doc explaining what settings are available?thanksGarry Link to comment Share on other sites More sharing options...
Ritik Jain Posted November 15, 2023 Share Posted November 15, 2023 Hi @Garry Cyre ,I assume I can just deploy these yamls and use our existing Prometheus cluster. Then update our current CIC. to use the new configmap?https://github.com/netscaler/netscaler-observability-exporter/blob/master/examples/prometheus/cic-configmap.yamlhttps://github.com/netscaler/netscaler-observability-exporter/blob/master/examples/prometheus/coe-prometheus.yamlcoe-prometheus.yaml will deploy COE for you configured only to export counters to Prometheus (I'm assuming that is all you are interested in- and not in transactions, logs, events)cic-configmap.yaml will update CIC's settings that in turn will configure your NetScaler(s) to start exporting their counters to COE.Proper deployment of the above two YAMLs should do it for you.is there any configuration needed on the ADC?Some of the docs show some "ingress.citrix.com/analyticsprofile" is there a better doc explaining what settings are available?CIC is supposed to configure NetScaler for you- thus cic-configmap should be all you need to configure. This should be enough for you, unless you have some specific use-case, which you may need to describe.Some of the docs show some "ingress.citrix.com/analyticsprofile" is there a better doc explaining what settings are available?You can refer to this doc for COE specific settings on CIC -https://docs.netscaler.com/en-us/citrix-k8s-ingress-controller/configure/config-map-coeRegards,Ritik Link to comment Share on other sites More sharing options...
Garry Cyre Posted January 30 Author Share Posted January 30 @Ritik Jain I've installed the COE and updated the CIC configmaps, those services seem to be running ok. How do I push the metrics to my prometheus instance? Do I need to create a prometheus "servicemonitor"? What endpoint do I use? what port? thanks Garry Link to comment Share on other sites More sharing options...
Garry Cyre Posted January 30 Author Share Posted January 30 hi @Ritik Jain I enabled a servicemonitor for the COE and see that the endpoints are active. serviceMonitor/prometheus/citrix-coe-prometheus-servicemonitor/0 (2/2 up) I've updated a service to include the analytics ingress.citrix.com/analyticsprofile: '{"webinsight": {"httpurl":"ENABLED", "httpuseragent":"ENABLED", "httphost":"ENABLED", "httpmethod":"ENABLED", "httpcontenttype":"ENABLED"}}' but I'm not seeing any metrics in Prometheus what should I be searching for in Prometheus? thanks Garry Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now