I am trying to research on how to integrate Web Analytics Component with one of the technologies,
Grafana
Graphite
OpenTelemetry
Prometheus
We know that we could add new vendor with similar configurations as google analytics. Interested in what are the configuration that we need to do in one or two technologies that we have to make so that we pass the Header Snippet: included JS/ vendor server url/vendor token or id. Where and how to get those details.
@Shyam G To integrate Pega Web Analytics with Grafana, Prometheus, Graphite, or OpenTelemetry, you would typically need to expose Pega’s technical metrics to these monitoring systems. This can be done using libraries available in Pega 7.x, 8.x versions. For example, for Prometheus, you can run the jmx exporter on your physical server, which will return the metrics whenever you hit its respective HTTP endpoint. If you want the data to be posted and pumped into Grafana, you can follow the steps outlined in the Grafana documentation. You can use Kafka/MQ to do the job of sharing the data with Grafana. However, the exact configurations and details would depend on the specific technology and its version you are using. It’s recommended to refer to the respective technology’s documentation for the most accurate and up-to-date information.
This is a GenAI-powered tool. All generated answers require validation against the provided references.
@HarinderR16850209 , I understand the solution in theory, would like to make a comment when it practically works out. Because running jmx exporter in Pega cloud server, don’t know whether its possible or not?
@Shyam G I believe the Web Analytics team disbanded after the application was published for Pega 8.8 and no further support exists for the Market Place product.
My team is not familiar with the area of web analytics integration and would recomend that you have them weigh in here to suggest alternatives or other solutions.
I am familiar with prometheus, jmx exporter and things generally involved in the realm of monitoring.
For on-premise and client-managed cloud (on-premise k8s) deployments, I believe it should be possible to do the thing your trying to do:
create/register mbean (not sure how difficult this would be, but I imagine it is possible)
run jmx exporter as a java agent or standalone
setup a prometheus scraper to pull from the jmx exporter scrape endpoint (and send those to grafana)
For Pega Cloud, it is not practical because:
It would require changes to networking and would have to be evaluated for security concerns
It is likely to interfere with our internal monitoring/observabiliity implementation.
If running this on Pega Cloud is a requirement, I’d recomend looking into other solutions and engaging with one the teams that built the web analytics integration.