![]() ![]() ![]() To fix this, PostHog includes a number of exporters for Prometheus that allow us to stream metrics from specific services into their own separate dashboard.įor more information on the configuration values for each service, check out ALL_VALUES.md for the full list of configuration options. ![]() While the basic cluster-overview monitoring is useful for monitoring overall cluster health, there is still a lot of important information about each service within PostHog that isn't available. Our Grafana dashboard should now be available at localhost:8080, and we can log in using the username admin along with the password we just retrieved.įor information on exposing Grafana through an Nginx ingress, take a look at the configuration options for the upstream Grafana chart.įinally, if we now go to the list of Dashboards and navigate to PostHog > Kubernetes (cluster overview), you should see a pre-configured dashboard with a number of metrics related to our cluster!įor more information on configuring and using Grafana, check out the official docs Setting up service-specific monitoring Kubectl -n posthog port-forward svc/posthog-grafana 8080 :80 Which can be done by adding the following lines to our values.yaml To set up basic monitoring, we will need to enable the following two charts: This section covers setting up basic monitoring for the entire Kubernetes cluster, and provides basic metrics such as CPU usage, memory usage, and disk IOs. If you are running an older version, take a look at our guide on how to upgrade PostHog Setting up cluster monitoring Note: This guide requires you to be running a Helm chart version of at least 26.0.6. Getting startedīy default, the PostHog Helm chart does not come with Grafana enabled, so we will need to update our config values in order to install it. If you are targeting a production use-case, we highly recommend setting up all of these options. This guide covers how to configure monitoring of your self-hosted deployment through Grafana. Instructions for deploying can be found here. We still maintain our Open-source Docker Compose deployment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |