mdegat01 / promtail-journal Goto Github PK
View Code? Open in Web Editor NEWPromtail with journal support
License: MIT License
Promtail with journal support
License: MIT License
@mdegat01 Thanks for creating this container and filling the void left by Grafana.
Thought I'd share how to use this container on a standalone docker install in case others use Home Assistant Container. This uses /ready to perform a healthcheck and also passes through the host name of the docker host for use in the config. This has been tested on a Pi 4 running rasbian 10 buster.
Create the promtail folder:
mkdir -p ~/promtail && cd ~/promtail
Change the following in promtail.yaml
Save the files below in the ~/promtail folder made above and remove the .txt extensions.
run_promtail.sh.txt
docker-compose.yaml.txt
promtail.yaml.txt
Make sure run_promtail.sh is executable
sudo chmod a+x ~/promtail/run_promtail.sh
Create the container
sudo docker-compose up -d
Verify metrics
wget -qO- http://localhost:9080/metrics
Verify readiness
wget -qO- http://localhost:9080/ready
I am playing with the official loki sample.
I've seen that aarm64 (arm64v8) archs do not have built in journal support.
That's why I am trying to use your promtail-journal in a docker container. I got confused by your explanation that it is only a build container. So could you please explain how to replace your solution within the sample mentioned above?
A few side-questions I've been thinking about but didn't come to answers yet:
/var/log/jornal
?Thanks for advices.
Greetings woodz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.