Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HAProxy dashboard #406

Merged
merged 4 commits into from
Jul 31, 2024
Merged

Add HAProxy dashboard #406

merged 4 commits into from
Jul 31, 2024

Conversation

keithf4
Copy link
Collaborator

@keithf4 keithf4 commented May 10, 2024

Description

Add HAProxy Grafana dashboard. Adapted from https://grafana.com/grafana/dashboards/12693-haproxy-2-full/ but had to fix some issues around trying to use the http code as a dropdown variable (metric to get the total codes is not always available depending on HAProxy server setup. removed code variable and adjusted panels).

Added example Prometheus target with reference to HAProxy docs for how to enable the built-in exporter

Requires a minimum of HAProxy 2.x for this dashboard to work

Please indicate what kind of change your PR includes (multiple selections are acceptable):

  • Bugfix
  • Enhancement
  • Breaking Change
  • Documentation

PRs should be against existing issues, so please list each issue using a separate 'closes' line:

closes #277

If this PR depends on another PR or resolution of another issue, please indicate that here using a separate 'depends' line for each dependency.

depends on #

If you have an external dependency (packages, portal updates, etc), add the 'BLOCKED' tag to your PR.

Testing

None of the testing listed below is optional.

  • Installation method:
    • Binary install from source, version:
    • OS package repository, distro, and version:
    • Local package server, version:
    • Custom-built package, version:
    • Other:
  • PostgreSQL, Specify version(s):
  • docs tested with hugo version(s):

Code testing

Have you tested your changes against:

  • RedHat/CentOS
  • Ubuntu
  • SLES
  • Not applicable

If your code touches postgres_exporter, have you:

  • Tested against all versions of PostgreSQL affected
  • Ensure that exporter runs with no scrape errors
  • Not applicable

If your code touches node_exporter, have you:

  • Ensure that exporter runs with no scrape errors
  • Not applicable

If your code touches Prometheus, have you:

  • Ensured all configuration changes pass promtool check config
  • Ensured all alert rule changes pass promtool check rules
  • Prometheus runs without issue
  • Alertmanager runs without issue
  • Not applicable

If your code touches Grafana, have you:

  • Ensured Grafana runs without issue
  • Ensured relevant dashboards load without issue
  • Not applicable

Checklist:

  • I have made corresponding changes to:
    • the documentation
    • the release notes
    • the upgrade doc

@keithf4 keithf4 added this to the Future milestone May 10, 2024
@keithf4 keithf4 self-assigned this May 10, 2024
@keithf4 keithf4 modified the milestones: Future, 5.1 May 10, 2024
hunleyd
hunleyd previously approved these changes May 13, 2024
YorviArias
YorviArias previously approved these changes May 13, 2024
@keithf4 keithf4 dismissed stale reviews from YorviArias and hunleyd via 20e4f2f May 13, 2024 17:06
@keithf4 keithf4 requested review from hunleyd and YorviArias May 13, 2024 17:07
hunleyd
hunleyd previously approved these changes May 15, 2024
@keithf4 keithf4 added the FEATURE New feature or request label May 15, 2024
jchancojr
jchancojr previously approved these changes May 17, 2024
YorviArias
YorviArias previously approved these changes May 17, 2024
@keithf4 keithf4 dismissed stale reviews from YorviArias, jchancojr, and hunleyd via ed89b50 July 19, 2024 17:55
Copy link
Contributor

@jchancojr jchancojr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@keithf4 keithf4 merged commit 7b29f5f into CrunchyData:development Jul 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEATURE New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

haproxy metrics/dashboard
4 participants