Jump to content
Welcome to our new Citrix community!

Citrix Observability Exporter install questions


Garry Cyre

Recommended Posts

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.yaml

https://github.com/netscaler/netscaler-observability-exporter/blob/master/examples/prometheus/coe-prometheus.yaml

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?

thanks

Garry

Link to comment
Share on other sites

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.yaml

https://github.com/netscaler/netscaler-observability-exporter/blob/master/examples/prometheus/coe-prometheus.yaml

coe-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-coe

Regards,

Ritik

Link to comment
Share on other sites

  • 2 months later...

@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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...