Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: promtail에서 loki로 로그를 보낼 때 loki에서 400을 반환하는 오류 #1211

Open
3 tasks done
goathoon opened this issue Jan 19, 2024 · 0 comments
Open
3 tasks done
Labels
🪰 bug Something isn't working Notion task p2-has-workaround 🚦 Priority 2: 해결책이 있는 문제 ⛳️ team-infra

Comments

@goathoon
Copy link
Member

Describe the bug

image

level=error ts=2024-01-19T09:46:28.758744044Z caller=client.go:430 component=client host=115.145.160.240:3101 msg="final error sending batch" status=400 tenant= error="server returned HTTP status 400 Bad Request (400): entry with timestamp 2024-01-18 21:45:57.948654186 +0000 UTC ignored, reason: 'entry too far behind, oldest acceptable timestamp is: 2024-01-19T08:46:25Z',"

loki의 기본 설정 값 (limits_config.oldest acceptable timestamp) 이 1주일로 설정되어, 1주일보다 오래된 log를 loki에게 전송시 400 error를 반환합니다.

Reproduction

Logs

level=error ts=2024-01-19T09:46:28.758744044Z caller=client.go:430 component=client host=115.145.160.240:3101 msg="final error sending batch" status=400 tenant= error="server returned HTTP status 400 Bad Request (400): entry with timestamp 2024-01-18 21:45:57.948654186 +0000 UTC ignored, reason: 'entry too far behind, oldest acceptable timestamp is: 2024-01-19T08:46:25Z',

System Info

No response

Validations

@goathoon goathoon added 🪰 bug Something isn't working ⛳️ team-infra p2-has-workaround 🚦 Priority 2: 해결책이 있는 문제 labels Jan 19, 2024
@github-project-automation github-project-automation bot moved this to Pending ✋ in Codedang Jan 19, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🪰 bug Something isn't working Notion task p2-has-workaround 🚦 Priority 2: 해결책이 있는 문제 ⛳️ team-infra
Projects
Status: Pending
Development

No branches or pull requests

2 participants