Skip to content

feat: loki integration#118

Open
SimonRichardson wants to merge 12 commits into
juju:mainfrom
SimonRichardson:loki
Open

feat: loki integration#118
SimonRichardson wants to merge 12 commits into
juju:mainfrom
SimonRichardson:loki

Conversation

@SimonRichardson
Copy link
Copy Markdown
Member

Requires #107 to land first. Although, this isn't explicitly tied to s3 integration, it does build upon some of the charm logic within it.


Uses the loki_push_api requirer integration to send the loki push URL to the controller charm. Once it has that, it will be up to the controller to distribute the loki endpoint to all agents, so that we can send logging to loki, instead of jujud-controller. This should elevate a lot of load in busy controllers.

This will ensure that the relation can integrate with other charms.
Ensure we call adding and removing s3 credentials when a relation is
added or removed.
Using the event reveals all the information required, no need to ask
for the information from somewhere else.
Uses loki integration to push the loki endpoint to juju database, so
it can send all the information to all the agents. This will allow
the a much more distributed logging approach.
@SimonRichardson SimonRichardson changed the title Loki feat: loki integration May 8, 2026
jujubot added a commit to juju/juju that referenced this pull request May 19, 2026
#22414

This is the logging domain which we will track the loki endpoint for loki_push_api changes from. It will take values from the juju-controller charm and push them into the database. From there it will dispatch events to a worker to replace the underlying loggers with the correct slog handler, which can then pipe to loki.

Requires juju/juju-controller#118

## QA steps

This isn't wired up yet.


## Links


**Jira card:** [JUJU-9763](https://warthogs.atlassian.net/browse/JUJU-9763)


[JUJU-9763]: https://warthogs.atlassian.net/browse/JUJU-9763?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant