OpenTelemetry metrics are the future foundation for monitoring, available from GitHub Enterprise Server 3.18 onward. This new monitoring stack provides enhanced observability and management capabilities compared to the legacy collectd system.
Collectd metrics continue to be gathered by default and remain fully supported in this release.
Observação
OpenTelemetry metrics are in versão prévia pública and subject to change. We would love to hear your feedback on the preview. You can share it with your customer success team, or leave a comment in the community discussion post.
Additional dashboards
When OpenTelemetry metrics are enabled, you can turn on advanced Grafana dashboards with enhanced visualization and monitoring capabilities.
- Elasticsearch - Detailed metrics for search performance, indexing operations, and cluster health
- Nomad - In-depth monitoring of job scheduling, resource allocation, and service orchestration
- HAProxy - Load balancer performance metrics, connection statistics, and request routing information
- Node Exporter - System-level metrics including CPU, memory, disk, and network statistics for each node
- Process Exporter - Detailed process-level metrics for monitoring individual service performance
These dashboards provide more granular insights into your GitHub Enterprise Server instance's performance and can help with advanced troubleshooting and capacity planning.
Prerequisites
- OpenTelemetry metrics are enabled for your GitHub Enterprise Server instance
- SSH access to your GitHub Enterprise Server instance
Enabling advanced dashboards
-
Conecte-se via SSH ao sua instância do GitHub Enterprise Server. Se sua instância for composta por vários nós, por exemplo, se a alta disponibilidade ou a replicação geográfica estiver configurada, efetue SSH no nó primário. Se você usar um cluster, poderá efetuar SSH em qualquer nó. Substitua HOSTNAME pelo nome do host da instância ou pelo nome do host ou endereço IP de um nó. Para saber mais, confira Acesar o shell administrativo (SSH).
Shell ssh -p 122 admin@HOSTNAME
ssh -p 122 admin@HOSTNAME
-
Run the following command to enable advanced dashboards:
ghe-config observability.metrics.advanced-dashboards-enabled true
-
Para aplicar a configuração, execute o comando a seguir.
Observação
Durante uma execução de configuração, os serviços do sua instância do GitHub Enterprise Server podem ser reiniciados, o que pode causar um breve tempo de inatividade para os usuários.
Shell ghe-config-apply
ghe-config-apply
-
Aguarde a conclusão da execução de suas configurações.
After running these commands, your external Grafana instance will have access to additional pre-configured dashboards.