Comments (3)
@bds-congnguyen
3.0.27
should fix the issue.
Sorry for the inconvenience.
from qryn.
I think return status code 204
is default behavior without considering response of function push
https://github.com/metrico/qryn/blob/master/lib/handlers/push.js#L137
from qryn.
Hi @akvlad
confirmed that issue has been fixed
here is log from Qryn
compose-qryn-1 | {"level":50,"time":1703555797783,"pid":25,"hostname":"48db5ccb1a33","name":"qryn","reqId":"req-52","err":"Database push error\nError: Database push error\n at Worker.<anonymous> (/app/lib/db/clickhouse.js:80:27)\n at Worker.emit (node:events:514:28)\n at MessagePort.<anonymous> (node:internal/worker:263:53)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:814:20)\n at exports.emitMessage (node:internal/per_context/messageport:23:28)","msg":"Database push error"}
compose-qryn-1 | {"level":30,"time":1703555797783,"pid":25,"hostname":"48db5ccb1a33","name":"qryn","reqId":"req-52","res":{"statusCode":500},"responseTime":28.770941734313965,"msg":"request completed"}
and client was sent log to buffer after meet error code 500 as expected, example log from vector.dev
Dec 26 08:59:00 sample vector[1518107]: 2023-12-26T01:59:00.748193Z DEBUG sink{component_kind="sink" component_id=file_logs component_type=loki}:request{request_id=320208}:http: vector::internal_events::http_client: HTTP response. status=500 Internal Server Error version=HTTP/1.1 headers={"vary": "Origin, accept-encoding", "access-control-allow-origin": "*", "content-type": "application/json; charset=utf-8", "content-length": "84", "date": "Tue, 26 Dec 2023 01:59:00 GMT", "connection": "keep-alive", "keep-alive": "timeout=72"} body=[84 bytes]
Dec 26 08:59:00 sample vector[1518107]: 2023-12-26T01:59:00.748258Z WARN sink{component_kind="sink" component_id=file_logs component_type=loki}:request{request_id=320208}: vector::sinks::util::retries: Retrying after error. error=Server responded with an error: 500 Internal Server Error internal_log_rate_limit=true
Dec 26 08:59:00 sample vector[1518107]: 2023-12-26T01:59:00.748264Z DEBUG sink{component_kind="sink" component_id=file_logs component_type=loki}:request{request_id=320208}: vector::sinks::util::retries: Retrying request. delay_ms=144000
Dec 26 08:59:01 sample vector[1518107]: 2023-12-26T01:59:01.629848Z DEBUG source{component_kind="source" component_id=logs component_type=file}:file_server: file_source::file_server: event_throughput=258.000/sec bytes_throughput=151.409k/sec ratios={"discovery": 0.019089693, "other": 0.0033874414, "reading": 0.008813319, "sending": 0.01822758, "sleeping": 0.9504819}
Dec 26 08:59:01 sample vector[1518107]: 2023-12-26T01:59:01.659139Z DEBUG vector::internal_events::file::source: Files checkpointed. count=23 duration_ms=0
from qryn.
Related Issues (20)
- issue with prometheus remote write HOT 9
- error when trying to query prometheus HOT 1
- error on startup - docker HOT 3
- Decommission stddev_over_time usage HOT 4
- occasional exception in CPU graph HOT 1
- Prometheus Datasource problems HOT 3
- metrics select error on clickhouse cluster HOT 1
- When creating tables, create them with a storage policy if env var is set HOT 5
- Grafana > 10.1 tempo fail HOT 4
- Qryn bun get metrics error HOT 4
- Why limit MaxSamples to 100000? HOT 6
- Slow metrics requests HOT 6
- [Feature request] Frontend behind a reverse proxy HOT 4
- Inserted 'NaN' values are stored as zero in samples_v3 HOT 9
- Unexpected metrics gaps HOT 2
- Loki json formatter long response HOT 3
- Metrics labels and values in loki logs HOT 21
- No such file or directory error when starting qryn HOT 3
- suggest changing the insert operation to directly write to the local table instead of the distributed table HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qryn.