HackerTrans
TopNewTrendsCommentsPastAskShowJobs

harisamin

no profile record

Submissions

[untitled]

1 points·by harisamin·2 mesi fa·0 comments

Show HN: Jlq – A CLI to easily tail+query JSON log files using Rust+SQLite

github.com
10 points·by harisamin·4 anni fa·0 comments

comments

harisamin
·2 anni fa·discuss
My goto these days is TablePlus https://tableplus.com. Native desktop client (no electron). UI is pretty standard, polished, and IMHO great. Supports PG really well (amongst other RDBMSes and some NoSQL dbs).

Yes it's not open source but its free version is still great.
harisamin
·2 anni fa·discuss
yeah I totally turned all of those off...way too noisy :)
harisamin
·2 anni fa·discuss
On the noisy NodeJS auto-instrumentation, it is indeed very noisy out of the box. Myself along with a bunch of other ppl finally got the project to allow you to select the instrumentations via configuration. Saves having to create your own tracer.ts/js file.

Here's the PR that got merged earlier in the year: https://github.com/open-telemetry/opentelemetry-js-contrib/p...

The env var config is `OTEL_NODE_ENABLED_INSTRUMENTATIONS`

Anyways, love Opentelemetry success stories. Been working hard on it at my current company and yielding fruits already :)
harisamin
·2 anni fa·discuss
Wrote something similar a year or so ago https://github.com/hamin/jlq
harisamin
·3 anni fa·discuss
A while ago I wrote jlq, a utility explicitly querying/filtering jsonl/json log files. It’s powered by SQLite. Nice advantage is it can persist results to a sqlite database for later inspection or to pass around. Hope it helps someone :)

https://github.com/hamin/jlq
harisamin
·3 anni fa·discuss
Ah cool! Somewhat related I built a json log query tool recently using rust and SQLite. Didn’t build the server part of it

https://github.com/hamin/jlq