- Notifications
You must be signed in to change notification settings - Fork3.8k
Docs: revise getting started guide#5939
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Add instructions to download, configure, and deploy the test environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I've hit a wall at the final part, running the{job="flog"}
query in Grafana. Everything appears to be working as far as I can tell, but the query returns nothing.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Signed-off-by: Edward Welch <edward.welch@grafana.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
The revised steps simplify the setup process and work! Thanks,@KMiller-Grafana!
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
docker-compose down | ||
``` | ||
## Modifying the flog app output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Hmmm I think this subsection seems out-of-place/looks unnecessary. WDYT?
KMiller-GrafanaApr 27, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Let's see what others say in their reviews. I wanted this effort to be a guide, not a tutorial. Part of making a guide is providing paths for extending what is given to what is useful for the readers.
I envision adding another section (in the future, when time allows) which shows how to run Promtail and the app outside of Docker containers. This would promote understanding of how to set up Promtail configuration.
So, in the future, I think there will be other sections that we might classify as extending the test environment to further evaluate Loki. I think that we might even use this setup (maybe replace flog with another app?) to be used as a LogQL query-writing practice area.
Uh oh!
There was an error while loading.Please reload this page.
added a few nits but overall LGTM! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM 🏆
Thank you for this! It is written in a very clear and easy to follow along manner 🙏
Just some small suggestions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM!
* Revise the getting started section* Docs: revise getting started guide* Intermediate commit of getting started material.* Intermediate revision of the getting started guide. Add instructions to download, configure, and deploy the test environment.* Add sample queries and instructions for breaking down the test env* Revise prose using reviewer comments.* update to use promtail and flog in the docker compose fileSigned-off-by: Edward Welch <edward.welch@grafana.com>* Revise guide to put all parts into Docker containers.* Add README files for examples directory. Revise getting started instructions.* Address DylanGuedes review comments* Getting started guide: incorporate suggestions from ssncferreiraCo-authored-by: Edward Welch <edward.welch@grafana.com>(cherry picked from commitc4ebfd3)
* Revise the getting started section* Docs: revise getting started guide* Intermediate commit of getting started material.* Intermediate revision of the getting started guide. Add instructions to download, configure, and deploy the test environment.* Add sample queries and instructions for breaking down the test env* Revise prose using reviewer comments.* update to use promtail and flog in the docker compose fileSigned-off-by: Edward Welch <edward.welch@grafana.com>* Revise guide to put all parts into Docker containers.* Add README files for examples directory. Revise getting started instructions.* Address DylanGuedes review comments* Getting started guide: incorporate suggestions from ssncferreiraCo-authored-by: Edward Welch <edward.welch@grafana.com>(cherry picked from commitc4ebfd3)Co-authored-by: Karen Miller <84039272+KMiller-Grafana@users.noreply.github.com>
Uh oh!
There was an error while loading.Please reload this page.
Compose a single getting started guide (instead of a section with unrelated content). Base it on the SSD Docker installation instructions.
Move unrelated content elsewhere in the doc set. Introduce appropriate aliases (metadata) for the moved content.
Use flog to do log-generation.
Make sure it is obvious that this test environment is not for a production environment.
Move the configuration that goes with this guide into a new Loki
/examples
directory. (Leave other example material in the/production
directory to be updated and/or moved in a different PR.)To test using the new getting started guide, copy the 3 configuration files fromthis PR's
/examples
directory. The directions in the prose can't work until after this PR is merged in, as this PR creates the/examples
directory.