dennis zhuang
4259975be9
feat: support not-equal matcher for PromQL metric names ( #5385 )
...
* feat: make instant_query and range_query to supports not-equal matchers
* feat: impl query_metric_names
* feat: forgot some files and refactor
* chore: test and docs
* fix: typo
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
* refactor: parse_query
* chore: improve test
* fix: use current catalog to query information_schema
---------
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2025-01-22 03:04:40 +00:00
shuiyisong
2ab235ec9d
chore: extract service_name in OTLP traces by default ( #5412 )
...
chore: add service_name in traces
2025-01-21 02:34:56 +00:00
Lei, HUANG
64ce9d3744
chore(http): change authorization header ( #5389 )
...
* chore/change-authorization-header:
### Add Custom Authorization Header Support
- **Files Modified**: `http.rs`, `authorize.rs`, `authorize.rs` (tests)
- **Key Changes**:
- Introduced a custom authorization header `x-greptime-auth` in `http.rs`.
- Updated authorization logic in `authorize.rs` to support both `x-greptime-auth` and the standard `Authorization` header.
- Enhanced test cases in `authorize.rs` to validate the new custom header functionality.
* chore: add more tests
2025-01-20 07:09:44 +00:00
yihong
d072801ad6
fix: drop unused pub fn using to cargo_workspace_unused ( #5352 )
...
* fix: drop unused pub fn using to cargo_workspace_unused
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* fix: seems is_sum can delete too
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
---------
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-01-18 15:59:21 +00:00
Ruihang Xia
a598008ec3
fix: panic when received invalid query string ( #5366 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2025-01-16 11:05:46 +00:00
ZonaHe
4e3dd04f42
feat: update dashboard to v0.7.9-rc.1 ( #5368 )
...
feat: update dashboard to v0.7.9-rc
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
2025-01-16 03:43:38 +00:00
Ning Sun
725d5a9e68
fix: redirect /dashboard to /dashboard/ ( #5369 )
...
* fix: redirect /dashboard to /dashboard/
* test: update integration test
2025-01-16 03:04:08 +00:00
yihong
7e61d1ae27
feat: support pg_database for DBeaver. ( #5362 )
...
This patch support pg_database for pg_catalog, also add query replace,
in fixtures.rs for the reason that datafusion do not support sql like
'select 1,1;' more can check issue #5344 .
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-01-15 07:05:34 +00:00
ZonaHe
1855dccdf1
feat: update dashboard to v0.7.8 ( #5355 )
...
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
2025-01-14 09:00:08 +00:00
ZonaHe
c370b4b40d
feat: update dashboard to v0.7.7 ( #5350 )
...
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
2025-01-13 07:35:12 +00:00
zyy17
3f01f67f94
refactor(elasticsearch): use _index as greptimedb table in log ingestion and add /${index}/_bulk API ( #5335 )
...
* refactor(elasticsearch): use `_index` as greptimedb table in log ingestion and add `/${index}/_bulk` API
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: code review
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2025-01-13 06:58:04 +00:00
ZonaHe
9ae48010f0
feat: update dashboard to v0.7.6 ( #5340 )
...
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
2025-01-10 17:06:09 +00:00
ZonaHe
45d4065fd6
feat: update dashboard to v0.7.4 ( #5336 )
...
Co-authored-by: sunchanglong <sunchanglong@users.noreply.github.com >
2025-01-10 08:37:02 +00:00
discord9
9e09be7ba6
chore: update rustls ( #5337 )
...
* deps: update rustls
* chore: update lock
* chore: server use workspace rustls
* chore: comment on version
2025-01-10 08:17:40 +00:00
Weny Xu
be22da775a
build: disable local IP detection feature in Android binary ( #5327 )
...
build: disable local ip detection feature in android binary
2025-01-09 11:13:48 +00:00
zyy17
03a2e6d0c1
feat: support elasticsearch _bulk API to ingest logs ( #5261 )
...
* feat: support elasticsearch '_bulk' API to ingest logs
Signed-off-by: zyy17 <zyylsxm@gmail.com >
* refactor: code review
* refactor: add metrics
---------
Signed-off-by: zyy17 <zyylsxm@gmail.com >
2025-01-08 14:54:53 +00:00
Yingwen
c19a56c79f
feat!: Remove script crate and python feature ( #5321 )
...
* feat: exclude script crate
* chore: simplify feature
* feat: remove the script crate
* chore: remove python feature and some comments
* chore: fix warning
2025-01-08 12:11:53 +00:00
Weny Xu
7f307a4cac
feat: auto detecting local IP to use as hostname ( #5314 )
...
* feat: auto detecting hostname
* chore: update config.md
* chore: bring back hostname
* chore: apply suggestions from CR
* chore: use const
* chore: apply suggesions from CR
* fix: fix sqlness
2025-01-08 12:06:31 +00:00
shuiyisong
d1f8ea7880
perf: parse Loki labels in protobuf write path ( #5305 )
...
* chore: parse loki labels
* chore: add bench
* chore: add comment
* chore: add test
* chore: remove unnecessory default value and update test
* fix: typo and test
* chore: cr issue
* chore: cr issue
2025-01-08 07:55:06 +00:00
shuiyisong
a56c430db0
fix: pass unknown encoding in decompression layer ( #5300 )
...
fix: allow pass unknown in decompression layer
2025-01-06 09:10:56 +00:00
shuiyisong
bbbba29afc
feat: support Loki JSON write ( #5288 )
...
* perf: small updates
* refactor: move loki to a separate file
* chore: extract content_type pattern matching
* chore: minor update
* feat: loki json write
* chore: add decompression http layer
* fix: label string value instead of to_string
* chore: add test
* fix: typo
* fix: license header
* chore: rename
2025-01-06 07:09:48 +00:00
jeremyhi
e0949c4a11
feat: hints all in one ( #5194 )
...
* feat: hints all in one
* chore: If hints are provided in the x-greptime-hints header, ignore the rest of the headers
2025-01-02 02:56:33 +00:00
zyy17
13ed10556a
refactor: support to convert time string to timestamp in convert_value() ( #5242 )
...
refactor: support to covert time string to timestamp in convert_value()
2024-12-30 08:36:08 +00:00
localhost
0cf44e1e47
chore: add more info for pipeline dryrun API ( #5232 )
2024-12-26 03:06:25 +00:00
discord9
abf34b845c
feat(flow): check sink table mismatch on flow creation ( #5112 )
...
* tests: more mismatch errors
* feat: check sink table schema if exists&prompt nice err msg
* chore: rm unused variant
* chore: fmt
* chore: cargo clippy
* feat: check schema on create
* feat: better err msg when mismatch
* tests: fix a schema mismatch
* todo: create sink table
* feat: create sink table
* fix: find time index
* tests: auto created sink table
* fix: remove empty keys
* refactor: per review
* chore: fmt
* test: sqlness
* chore: after rebase
2024-12-25 13:42:37 +00:00
zyy17
5e88c80394
feat: introduce the Limiter in frontend to limit the requests by in-flight write bytes size. ( #5231 )
...
feat: introduct Limiter to limit in-flight write bytes size in frontend
2024-12-25 09:11:30 +00:00
Ruihang Xia
68dd2916fb
feat: logs query endpoint ( #5202 )
...
* define endpoint
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* planner
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update lock file
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add unit test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix toml format
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* revert metric change
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/query/src/log_query/planner.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix compile
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* refactor and tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2024-12-24 06:21:19 +00:00
jeremyhi
9b4e8555e2
feat: extract hints from http header ( #5128 )
...
* feat: extract hints from http header
* Update src/servers/src/http/hints.rs
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
* chore: by comment
* refactor: get instead of loop
---------
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
2024-12-18 08:17:34 +00:00
ZonaHe
88f7075a2a
feat: update dashboard to v0.7.3 ( #5172 )
...
Co-authored-by: sunchanglong <sunchanglong@users.noreply.github.com >
2024-12-16 10:56:41 +00:00
shuiyisong
9d7fea902e
chore: remove unused dep ( #5163 )
...
* chore: remove unused dep
* chore: remove more unused dep
2024-12-16 06:17:27 +00:00
localhost
53d55c0b6b
fix: loki write row len error ( #5161 )
2024-12-13 10:10:59 +00:00
localhost
e8e9526738
chore: pipeline dryrun api can currently receives pipeline raw content ( #5142 )
...
* chore: pipeline dryrun api can currently receives pipeline raw content
* chore: remove dryrun v1 and add test
* chore: change dryrun pipeline api body schema
* chore: remove useless struct PipelineInfo
* chore: update PipelineDryrunParams doc
* chore: increase code readability
* chore: add some comment for pipeline dryrun test
* Apply suggestions from code review
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
* chore: format code
---------
Co-authored-by: shuiyisong <113876041+shuiyisong@users.noreply.github.com >
2024-12-12 11:47:21 +00:00
localhost
b8a78b7838
chore: decide tag column in log api follow table schema if table exists ( #5138 )
...
* chore: decide tag column in log api follow table schema if table exists
* chore: add more test for greptime_identity pipeline
* chore: change pipeline get_table function signature
* chore: change identity_pipeline_inner tag_column_names type
2024-12-12 09:01:21 +00:00
Ruihang Xia
60f8dbf7f0
feat: implement v1/sql/parse endpoint to parse GreptimeDB's SQL dialect ( #5144 )
...
* derive ser/de
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* impl method
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* remove deserialize
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-11 13:33:54 +00:00
ZonaHe
9da2e17d0e
feat: update dashboard to v0.7.2 ( #5141 )
...
Co-authored-by: sunchanglong <sunchanglong@users.noreply.github.com >
2024-12-11 12:47:59 +00:00
discord9
d91517688a
chore: fix aws_lc not in depend tree check in CI ( #5121 )
...
* chore: fix aws_lc check in CI
* chore: update lock file
2024-12-11 07:02:03 +00:00
shuiyisong
3d1b8c4fac
chore: add /ready api for health checking ( #5124 )
...
* chore: add ready endpoint for health checking
* chore: add test
2024-12-11 02:56:48 +00:00
ZonaHe
1b642ea6a9
feat: update dashboard to v0.7.1 ( #5123 )
...
Co-authored-by: sunchanglong <sunchanglong@users.noreply.github.com >
2024-12-09 10:27:35 +00:00
Ning Sun
c0f498b00c
feat: update pgwire to 0.28 ( #5113 )
...
* feat: update pgwire to 0.28
* test: update tests
2024-12-09 03:12:11 +00:00
Ning Sun
3133f3fb4e
feat: add cursor statements ( #5094 )
...
* feat: add sql parsers for cursor operations
* feat: cursor operator
* feat: implement RecordBatchStreamCursor
* feat: implement cursor storage and execution
* test: add tests
* chore: update docstring
* feat: add a temporary sql rewrite for cast in limit
this issue is described in #5097
* test: add more sql for cursor integration test
* feat: reject non-select query for cursor statement
* refactor: address review issues
* test: add empty result case
* feat: address review comments
2024-12-06 09:32:22 +00:00
Ning Sun
dc83b0aa15
feat: add more transaction related statement for postgres interface ( #5081 )
...
* fix: add match for start and abort transactions
* feat: add commit transaction statement
* feat: add warning on transaction start
* chore: update message
2024-12-06 08:22:25 +00:00
ZonaHe
c732016fa0
feat: update dashboard to v0.7.0 ( #5100 )
...
Co-authored-by: sunchanglong <sunchanglong@users.noreply.github.com >
2024-12-05 13:42:36 +00:00
Ruihang Xia
cf0c84bed1
feat!: remove GET method in /debug path ( #5102 )
...
* featremove GET method in \/debug path
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update how-to document as well
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-05 08:21:55 +00:00
Ruihang Xia
7d8b256942
refactor: replace LogHandler with PipelineHandler ( #5096 )
...
* refactor: replace LogHandler with PipelineHandler
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* change method name
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* rename transform to insert
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-12-04 11:48:55 +00:00
Ning Sun
36263830bb
refactor: remove built-in apidocs and schemars ( #5068 )
...
* feat: feature gate apidocs
* refactor: remove built-in apidocs and schemars
* remove redoc html
2024-11-29 03:31:02 +00:00
Yohan Wal
1255638e84
refactor: unify mysql execute through cli and protocol ( #5038 )
...
refactor: mysql execute
2024-11-22 03:55:09 +00:00
Yohan Wal
1578c004b0
fix: prepare param mismatch ( #5025 )
...
* fix: prepare param mismatch
* test: clear state
* fix: minus 1
2024-11-22 02:31:53 +00:00
Zhenchi
0aab68c23b
feat(vector): add conversion between vector and string ( #5029 )
...
* feat(vector): add conversion between vector and string
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* fix sqlness
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
* address comments
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com >
2024-11-20 08:42:00 +00:00
Weny Xu
027284ed1b
chore(cli): set default timeout for cli commands ( #5021 )
...
* chore(cli): set default timeout for cli commands
* chore: apply suggestions from CR
* chore: apply suggestions from CR
* chore: update comments
* fix: treats `None` as `0s` to disable server-side default timeout
* chore: update comments
2024-11-20 07:36:17 +00:00
ZonaHe
9926e3bc78
feat: update dashboard to v0.6.1 ( #5017 )
...
Co-authored-by: ZonaHex <ZonaHex@users.noreply.github.com >
2024-11-19 07:28:10 +00:00