- What Grafana version and what operating system are you using?
Grafana v11.1.0-71756 (56ea7fd2c4) (Grafana cloud) - What are you trying to achieve?
I would like to have the default Node Exporter dashboards which have been visualizing data scraped with grafana agent to show the data of a new host which uses grafana alloy. - How are you trying to achieve it?
I am using grafana alloy using the following config file. I know that it transmits data to grafana cloud because the log on the host shows no error and when I use the explore functionality on the dashboard I can see the measurements are there.
However they are not showing up in the grafana agent dashboards.
Is it possible to visualize linux node data if one node uses the legacy grafana agent and the new one grafana alloy?
Are there recommended default templates for grafana alloy?
Thanks for your help.
My grafana alloy config
import.git "grafana_cloud" {
repository = "https://github.com/grafana/alloy-modules.git"
revision = "main"
path = "modules/cloud/grafana/cloud/module.alloy"
pull_frequency = "24h"
}
grafana_cloud.stack "receivers" {
stack_name = "MY STACK NAME"
token = "MY TOKEN"
}
prometheus.scrape "linux_node" {
targets = prometheus.exporter.unix.node.targets
forward_to = [
grafana_cloud.stack.receivers.metrics,
]
}
prometheus.exporter.unix "node" {
}
loki.relabel "journal" {
forward_to = []
rule {
source_labels = ["__journal__systemd_unit"]
target_label = "unit"
}
rule {
source_labels = ["__journal__boot_id"]
target_label = "boot_id"
}
rule {
source_labels = ["__journal__transport"]
target_label = "transport"
}
}
rule {
source_labels = ["__journal_priority_keyword"]
target_label = "level"
}
rule {
source_labels = ["__journal__hostname"]
target_label = "instance"
}
}
-
What happened?
-
What did you expect to happen?
-
Can you copy/paste the configuration(s) that you are having problems with?
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
-
Did you follow any online instructions? If so, what is the URL?