Adding Google analytics to WordPress website

So you created your wonderful WordPress website and would like to track its usage ๐Ÿ™‚ Of course, adding Google analytics seems like an obvious option. Firstly, you created Google Analytics account. Whatโ€™s next? Obviously, you can install additional WordPress plugins to enable it on your website. However, more plugins may slow your website down. You may wonder how to add Google Analytics support to WordPress website without a plugin. In addition, adding Google analytics to any website requires some effort to make it GDPR-compliant. What exact steps you should take to achieve that? Are there any privacy-friendly and lightweight Google Analytics alternatives which are fully GDPR-compliant? Keep reading to find out answers to all these questions ๐Ÿ™‚

Continue reading “Adding Google analytics to WordPress website”

How to create and debug custom Python Prometheus exporter

Have you ever been frustrated by the fact that Prometheus exporters don’t export the metrics you want? I was. So I wondered how easy it is to create a custom Prometheus exporter in Python. In fact, it’s very easy to build a new Prometheus exporter using Prometheus python client.

Therefore, we’ll develop custom Prometheus exporter in Python and show how to debug it fast. For this purpose, we’ll raise a fully functional Jenkins monitoring stack using docker.

Continue reading “How to create and debug custom Python Prometheus exporter”