Skip to content

loki: add tenant-id() option#4812

Merged
alltilla merged 2 commits intosyslog-ng:masterfrom
MrAnno:loki-multi-tenant
Feb 2, 2024
Merged

loki: add tenant-id() option#4812
alltilla merged 2 commits intosyslog-ng:masterfrom
MrAnno:loki-multi-tenant

Conversation

@MrAnno
Copy link
Collaborator

@MrAnno MrAnno commented Feb 2, 2024

For example:

    loki(
        url("localhost:9096")
        labels(
            "app" => "$PROGRAM",
            "host" => "$HOST",
        )
        workers(16)
        batch-timeout(10000)
        batch-lines(1000)

        tenant-id("testTenant")
    );

Questions: template support?

Signed-off-by: shifter <[email protected]>
Signed-off-by: László Várady <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2024

This Pull Request introduces config grammar changes

syslog-ng/f9ca6525505dbb638d0f14ab0f479e32262719c2 -> MrAnno/loki-multi-tenant

Details
--- a/destination
+++ b/destination

 loki(
+    tenant-id(<string>)
 )

alltilla
alltilla previously approved these changes Feb 2, 2024
Signed-off-by: László Várady <[email protected]>
@alltilla alltilla merged commit 0396e77 into syslog-ng:master Feb 2, 2024
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.

2 participants