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 new Host Metrics dashboard #135

Merged
merged 4 commits into from
Oct 5, 2023
Merged

Conversation

gdfast
Copy link
Contributor

@gdfast gdfast commented Oct 4, 2023

What does this PR do?

  • Adds a new Host Metrics dashboard under collector-dashboards/otel-collector-host-metrics-dashboard and adds the dashboard to README.md, main.tf, and outputs.tf
  • Fixes some typos

For what purpose?

The main purpose of this change is to add a new Host Metrics dashboard. It's essentially the OTel-native hostmetricsreceiver equivalent of the Host Metrics (Prometheus) dashboard. Adding it here will allow us to make it available in the prebuilt dashboard library.

PR checklist

Please confirm the following items:

  • At least one screenshot of the proposed dashboard is included in this PR. If you're proposing substantive changes to queries or new queries then please ensure your screenshot shows relevant data.
  • All chart names are in Title case.
  • All query names are lower case letters, beginning the first query of each chart as "a" and proceeding alphabetically ... "b", "c", etcetera.

Screenshot 2023-10-05 at 4 19 35 PM

@gdfast gdfast requested review from taniyourstruly, nslaughter and a team October 4, 2023 22:35
@gdfast gdfast marked this pull request as draft October 4, 2023 22:35
@gdfast gdfast requested a review from djspoons October 4, 2023 22:36
}
}

text_panel {
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: to me it's simpler to read this config if the descriptive metadata comes first. It's not a requested change unless we're just falling into convention or default we could change elsewhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tend to agree, and I'll make the change. The thing is though, I made this Terraform config by using our Terraform exporter tool, which places text_panels at the bottom of a group in a config file. You'll notice from the x_pos and y_pos that this text panel will show up first in the actual dashboard.

outputs.tf Outdated Show resolved Hide resolved
What does this PR do?
---------------------

- Adds a new Host Metrics dashboard under collector-dashboards/otel-collector-host-metrics-dashboard and adds the dashboard to README.md, main.tf, and outputs.tf
- Fixes some typos

For what purpose?
---------------------

The main purpose of this change is to add a new Host Metrics dashboard. It's essentially the OTel-native hostmetricsreceiver equivalent of the Host Metrics (Prometheus) dashboard. Adding it here will allow us to make it available in the prebuilt dashboard library.
@gdfast gdfast force-pushed the gfast/add-host-metrics-dashboard branch from f9a9d4d to 0e2ea1f Compare October 5, 2023 20:02
@gdfast gdfast marked this pull request as ready for review October 5, 2023 20:21
@gdfast gdfast merged commit 859b19f into main Oct 5, 2023
@gdfast gdfast deleted the gfast/add-host-metrics-dashboard branch October 5, 2023 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants