Commit Graph

16 Commits

Author SHA1 Message Date
Ankur Srivastava 8f3df9e7a1
feat: support reloading config vars using an API (#3623)
The new endpoint `/config/reload` will refresh the
environment variables.

There are a bunch of env-vars which will not be reloaded
for e.g. HTTP_PORT etc. these will need a restart.

---------

Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2024-05-30 08:23:27 +08:00
Hengfei Yang 6d0fbdd91d
refactor: separate proto to a new crate (#3146) 2024-04-02 23:15:14 +08:00
Hengfei Yang 1b0b8c2bf5
chore: update format (#2144)
fixed #2102
2023-12-07 10:10:45 +05:30
Prabhat Sharma 5db4ca191a change license to AGPL 2023-11-26 18:34:59 -08:00
Hengfei Yang bb1bd0049b
feat: optimize file list (#1577)
## Implement

- [x] Implement file_list API for gRPC
- [x] Debuging deadlock issue

## Todo

- [ ] Querier should use the file_list API for search

---------

Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>
2023-09-29 15:01:10 +05:30
Hengfei Yang af521fde54
fix: update license (#1404) 2023-08-21 15:37:50 +08:00
Hengfei Yang b3189f246c
perf: optimize parquet write params (#1323)
- [x] optimize parquet write params
- [x] add schedule fetch latest file_list to local cache
- [x] optimize CI for release mode
- [x] deadlock by usage report
2023-08-04 11:28:33 +05:30
Ashish Kolhe 785516f26b
fix: calculate stats (#1322) 2023-08-03 15:59:17 +05:30
Hengfei Yang 4829ed7cf0
fix: add records for scan stats report (#1060) 2023-06-29 00:18:35 +08:00
Valeriy V. Vorotyntsev f8e1def867
chore: rerun the build script if any of protobufs change (#757)
These print statements tell Cargo that it needs to rerun the build
script if either `build.rs` was modified or any of the files in `proto/`
directory was changed.

Without these print statements Cargo doesn't notice edits of *.proto
files.

### Before

1. Developer executes cargo check/clippy/run/build
2. Developer edits a *.proto file
3. Developer tries to check/clippy/run/build again
4. No recompilation happens — *bad*

### After

1–3. ...same...
4. Code is recompiled — *good*
2023-05-16 16:22:52 +03:00
Hengfei Yang c713aa9c2c
feat: embed promql (#700) 2023-05-10 23:18:23 +08:00
Valeriy V. Vorotyntsev f45aa93a84
refactor: inline format args; ci: deny clippy warnings (#449)
I got carried away and overdid refactoring. The resulting patch
is difficult to review in several places. I do beg your (reviewers')
pardon.
2023-03-29 12:35:07 +03:00
Prabhat Sharma be25fad23e
fix: dotenv -> dotenvy (#82)
* fix: dotenv -> dotenvy

* fix: bump dotenv-config version

* style: format code

* fix: rename some variables

---------

Co-authored-by: hengfeiyang <hengfei.yang@gmail.com>
2023-02-16 09:33:54 +05:30
Hengfei Yang 4f9b682d33
style: add License Header (#48) 2023-02-13 11:15:23 +08:00
Hengfei Yang 645af88b02
feat: add API for versions (#47) 2023-02-13 10:47:10 +08:00
oasisk 147362cb40 zinc-observe initial commit 2023-02-02 09:03:11 +05:30