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

optimize loki #146

Merged
merged 2 commits into from
Oct 4, 2024
Merged

optimize loki #146

merged 2 commits into from
Oct 4, 2024

Conversation

wguanicedew
Copy link
Contributor

(1) set timeout to http_maxtime in https.request2, which can be compatible with https.request.
(2) update the logserver format to remove single quotes. Because with bash command arguments, the single quotes are not easy to be passed to the variables.
(3) update loki handler, to remove to items. In the new tests, it seems the loki server limits the number of labels. Here we publish too many labels which are not useful. So I removed these labels.

@PalNilsson
Copy link
Collaborator

Thanks. The timeout change was already done.

@PalNilsson PalNilsson merged commit 598ec6f into PanDAWMS:master Oct 4, 2024
6 checks passed
@PalNilsson PalNilsson mentioned this pull request Oct 4, 2024
@PalNilsson
Copy link
Collaborator

I missed that you had set the destination of the merge to 'master' so I had to revert it again. Please remake the pull request to 'next'.

@wguanicedew
Copy link
Contributor Author

I will do it. For loki, we may need some other updates to disable some labels. Loki has a limitation that the labels should not change too much. So we need to disable some labels like timestamp.

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