Commit Graph
1750 Commits
Author SHA1 Message Date
Ashish Kolhe 7472a0fcf0 fix: use async walkdir (#3193) 2024-04-08 17:06:54 +05:30
Omkar Kesarkhane 47db7660bb fix: trace details share link was not working (#3191)
Added traces stream name to get trace details as now there can be
multiple traces streams
fix: #3188
2024-04-08 15:18:29 +05:30
Hengfei Yang b017352b11 fix: traces metadata write error (#3187) 2024-04-07 20:09:10 +08:00
Hengfei Yang 611b955b10 refactor: separate search structure to config crate (#3186)
- [x] Separate search structure into config crate
- [x] fixed #3084
2024-04-07 12:01:47 +08:00
Hengfei Yang 6293b35152 fix: wal on windows (#3184)
fixed #3172
2024-04-07 11:15:37 +08:00
Hengfei Yang 72966bdb4a ci: Profiling CPU for OpenObserve (#3183) 2024-04-06 22:53:50 +08:00
dependabot[bot] 1e6c9c4c88 chore(deps): bump h2 from 0.3.25 to 0.3.26 (#3177) 2024-04-06 17:27:10 +08:00
HuaijinandHengfei Yang 375d2b2dfe fix: use tokio::select to replace timeout (#3181)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2024-04-06 16:46:43 +08:00
Hengfei Yang 6bcf5f749d fix: add tokio console (#3175)
Debug mode:
```
RUSTFLAGS="--cfg tokio_unstable" cargo build --features=tokio-console
```

Relase mode:
```
RUSTFLAGS="--cfg tokio_unstable" cargo build --features=tokio-console --profile=release-profiling
```
2024-04-05 21:46:40 +08:00
Subhra264 ad510eab23 feat: publish usage report to external url (#3158)
ENVs introduced - 

| `ENV` | Description |
|--------|-------------|
| `ZO_USAGE_REPORTING_MODE` | Possible values - `local`, `remote` and
`both`. `local` means usage is only reported in internal cluster.
`remote` means store it in remote address and `both` means reporting is
done in the both `local` and `remote`. Default is `local` |
| `ZO_USAGE_REPORTING_URL` | Remote Reporting URL (with full api
endpoint). Default is `http://localhost:5080/api/_meta/usage/_json` |
| `ZO_USAGE_REPORTING_CREDS` | Credentials required for posting the
usage report to remote reporting URL |
2024-04-05 18:42:46 +05:30
Hengfei Yang 42cffffe31 fix: node cache status (#3170) 2024-04-05 19:04:45 +08:00
Hengfei Yang 0c33ee62d7 perf: node cache status (#3169) 2024-04-05 16:29:49 +08:00
Hengfei Yang 2d4960d8f3 perf: database alert table (#3168) 2024-04-05 15:50:31 +08:00
Yonas Yanfa c318853898 fix: missing module date-fns. Fixes #2709 (#3164) 2024-04-05 15:31:36 +08:00
Hengfei Yang aba980714f feat: add auth cookie max age to 30 days (#3165) 2024-04-05 15:23:34 +08:00
Prabhat Sharma 81365ce617 fix: print better error message with NATS server address for which failed to connect (#3166) 2024-04-05 15:22:47 +08:00
Omkar Kesarkhane 6458726196 fix: Sanitized HTML Rendered with v-html (#3167) 2024-04-05 12:20:36 +05:30
Hengfei Yang d244f07a81 perf: Search parquet on ingester no need load into memory (#3162) 2024-04-04 23:25:02 +08:00
Hengfei Yang b35692a219 fix: use get_lock for mysql (#3155) 2024-04-04 15:08:05 +08:00
RanolP e96101b2d3 fix: accept the precision loss prevention of js on time_unix_nano (#3151) 2024-04-04 11:29:05 +08:00
dependabot[bot] e83486bb08 chore(deps-dev): bump vite from 3.2.8 to 3.2.10 in /web (#3156) 2024-04-04 09:49:15 +08:00
胡同里有猫 f8acbe8dc5 feat: improve trace (#3095) 2024-04-03 19:26:18 +08:00
Hengfei Yang 7c2c78a317 refactor: add new db proxy methods (#3154) 2024-04-03 19:22:09 +08:00
Ashish Kolhe 82eb6e6e15 fix: cookie settings as env variable (#3152) 2024-04-03 15:24:21 +05:30
Omkar Kesarkhane 0eaab6b15b fix: csp unsafe-eval fixes (#3118) 2024-04-03 12:49:25 +05:30
Hengfei Yang a0ef5de474 fix: add some check for move file to s3 (#3149) 2024-04-03 13:09:54 +08:00
Omkar Kesarkhaneandoasisk 7148b33916 fix: IAM resource type permissions (#3138)
Problem:
Suppose we want to give POST permission for all log streams. Then we use
orgId as entity, as we give permission for all log streams in that org.
If orgId and stream name are same. For eg. default log stream in default
org. The permission object for post permission on single "default" (name
of stream) log stream and Post permission on all log streams in
"default" org, both are same. And this creates a conflict

Solution:
While giving all resources permission on any of resource type, we prefix
orgId with `_all_` and this will not conflict with any resource

---------

Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>
2024-04-03 09:44:03 +05:30
Subhra264andHengfei Yang 5002f08927 fix: use latest specific commit for chromiumoxide (#3147)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2024-04-03 09:35:47 +08:00
Subhra264andHengfei Yang dfd3b1b1ce fix: save report if both report_user_name and report_user_password envs are non-empty (#3134)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2024-04-03 09:35:33 +08:00
Ashish Kolhe 00fdce8c83 chore: cookies for authentication (#3144)
This will break openobserve cloud , DON'T deploy UI changes until we
accommodate cookies for cloud
2024-04-03 05:35:54 +05:30
Hengfei Yang 6d0fbdd91d refactor: separate proto to a new crate (#3146) 2024-04-02 23:15:14 +08:00
Hengfei Yang 1b5d7c90e4 feat: add file cache gc (#3020) 2024-04-02 22:24:57 +08:00
Huaijin 380873cf8e fix: query contains full-width characters encounter error (#3140) 2024-04-02 22:19:00 +08:00
Ankur Srivastava 931f55f4a4 test: disable recording of tests (#3145) 2024-04-02 22:00:07 +08:00
Hengfei Yang 7d502419f1 feat: use database lock replace etcd lock (#3107) 2024-04-02 21:09:16 +08:00
Ankur Srivastava 6d20dd88a0 fix: try with workflow-dispatch event (#3142) 2024-04-02 12:40:09 +02:00
xiaoziv f61e096b60 chore: code refactor (#3141) 2024-04-02 16:49:10 +08:00
ktx-vaidehi 7a503e4029 fix: On sharing URL link, by default 1st tab was getting selected (#3137)
Sharing dashboard URLs didn't work properly when tabs were involved.
Regardless of the selected tab, the link always took users to the first
tab. This issue has been fixed, ensuring that shared URLs now correctly
direct users to the intended tab, providing a smoother experience for
navigating dashboards.
2024-04-02 11:52:40 +05:30
Subhra264 860a09665f fix: only alert_manager should init the scheduler (#3135)
Instead of initializing the scheduler inside `infra::init()`, the
`alert_manager` only now initializes the scheduler.
2024-04-01 19:51:24 +05:30
Ashish Kolhe 91f02d1e6b chore: update native login & openapi specs (#3132) 2024-04-01 16:05:25 +05:30
deterclosed f73e00e61e fix: some typos (#3080) 2024-03-30 21:42:31 +08:00
dependabot[bot] 0a55c32c8f chore(deps): bump EmbarkStudios/cargo-deny-action from 1.6.1 to 1.6.2 (#3100) 2024-03-30 21:40:55 +08:00
dependabot[bot] 600006a429 chore(deps-dev): bump express from 4.18.2 to 4.19.2 in /web (#3113) 2024-03-30 21:40:10 +08:00
dongjinlong 202f4eeded chore: fix some typos (#3104) 2024-03-30 21:39:47 +08:00
Neha P 898cb1cc47 test: testcases for quick mode (#3124)
- Verify if quick mode is displayed
- Verify if user is able to click on interesting fields
- Verify on clicking interesting fields user is able to view the field
in sql mode
- Verify if on clicking interesting field when histogram is enabled,
expected results are displayed
- Verify if error displayed on entering random text in histogram mode
when quick mode is on
- Verify should display order by as default when switched to sql mode
- Verify if on page refresh the orderby is still present by default in
sql mode
- Verify if on page adding removing the interesting field removes in
from sql mode and the results too
2024-03-30 11:07:21 +05:30
Ashish Kolhe 8a65ade1a2 fix: schema inference issue (#3128) 2024-03-29 17:29:53 +05:30
Ashish Kolhe 943873b071 fix: schema inference issue (#3127) 2024-03-29 13:38:11 +05:30
Omkar Kesarkhane 5be80450de fix: stream names with hyphen (-) were not getting parsed correctly (#3126)
Stream names with hyphen (-) were not getting parsed correctly
2024-03-29 12:40:05 +05:30
Subhra264andomkark06 62b79416e3 feat: add custom hide menu field in the /config (#3125)
config settings for hiding menu items

---------

Co-authored-by: omkark06 <omkar@zinclabs.io>
2024-03-28 23:34:20 +05:30
Subhra264 0bf8c8aa5c feat: frequently check for span element render for dashboard report (#3102)
Instead of waiting for `CONFIG.chrome.chrome_sleep_secs` to let the data
load in the dashboard for report, frequently, check for the `span`
element with a loop.
2024-03-28 17:21:15 +05:30