-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
No labels and no logs #2446
Comments
the promtail scrape config looks incorrect to me:
It's a bit hard to tell what the indentation is in your example, you can escape blocks of yaml in markdown using three backticks before and after the code section. It's possible what you have is the same as what I pasted it just didn't format well. Aside from this check all the logs for promtail and Loki, are there errors? Also keep in mind the labels in Grafana are only loaded when the page loads or when the time window is changed. |
Hi,Bean, thank you,you are right,in the docker-compose,there is a problem。 |
* Moved seriesStore lookupSeriesByMetricNameMatcher to store.lookupChunkIdsByMetricNameMatcher. Signed-off-by: Peter Štibraný <[email protected]> * Implement optimization for set regex. Signed-off-by: Peter Štibraný <[email protected]> * Added test for regex set optimization. Signed-off-by: Peter Štibraný <[email protected]> * Added CHANGELOG.md Signed-off-by: Peter Štibraný <[email protected]> * Fix race errors. Signed-off-by: Peter Štibraný <[email protected]> * Fix compilation errors after rebase. Signed-off-by: Peter Štibraný <[email protected]> * Rename method to lookupIdsByMetricNameMatcher Signed-off-by: Peter Štibraný <[email protected]>
hello
Installing by docker-compose,but there is no labels in grafana,help check the question。
[root@elk ~]# more docker-compose.yaml
version: "3"
networks:
loki:
services:
loki:
image: grafana/loki:1.4.0
ports:
- "3100:3100"
networks:
- loki
grafana:
image: grafana/grafana:master
ports:
- "3000:3000"
environment:
GF_EXPLORE_ENABLED: "true"
networks:
- loki
promtail:
image: grafana/promtail:master
volumes:
- /tmp/log:/var/log
- /root/promtail:/etc/promtail
networks:
- loki
[root@elk promtail]# more config.yml
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
scrape_configs:
static_configs:
labels:
job: varlogs
path: /var/log/*log
The text was updated successfully, but these errors were encountered: