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

feat: Add rules for Promtail and Loki #277

Merged
merged 5 commits into from
Jan 13, 2023
Merged

feat: Add rules for Promtail and Loki #277

merged 5 commits into from
Jan 13, 2023

Conversation

uneti-max
Copy link
Contributor

Description

This PR adds rules for Loki and Promtail.

Motivation and Context

When using this repo to create a EC2 instance that will run provide dashboards, I would like to be able to use Promtail and Loki in conjunction with Prometheus and Grafana. This requires additions to the rules.tf file.

Breaking Changes

None that I am aware of

How Has This Been Tested?

This has been tested using the following repo to create an EC2 instance on which a docker-compose is used to deploy Grafana, Prometheus, Promtail, and Loki.

https://github.com/uneti-max/aws-tester

When the instance is done provisioning - Loki, and Promtail can be verified in the Grafana GUI. See screenshot below:

Screenshot 2023-01-12 at 14 51 58

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  1. Forked the repo
  2. Made changes to rules.tf and run the update script
  3. Published a test release Here
  4. Created a demo repo to test the changes Here
  5. Validated the provisioned instance allows traffic from Promtail and Loki
  • I have executed pre-commit run -a on my pull request

@uneti-max uneti-max changed the title Feat: Add rules for Promtail and Loki feat: Add rules for Promtail and Loki Jan 12, 2023
@antonbabenko antonbabenko merged commit b0d41e2 into terraform-aws-modules:master Jan 13, 2023
antonbabenko pushed a commit that referenced this pull request Jan 13, 2023
## [4.17.0](v4.16.2...v4.17.0) (2023-01-13)

### Features

* Add rules for Promtail and Loki ([#277](#277)) ([b0d41e2](b0d41e2))
@antonbabenko
Copy link
Member

This PR is included in version 4.17.0 🎉

@cloudymax
Copy link

Awesome thanks!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants