Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: opentsdb api support gzip body #1261

Merged
merged 16 commits into from
Oct 16, 2023

Conversation

tanruixiang
Copy link
Member

@tanruixiang tanruixiang commented Oct 13, 2023

Rationale

telegraf use gzip body to write opentsdb, so we will need to support to ungzip the body

TODO: telegraf output double's zero as 0, which will confuse ceresdb's auto create table, so we need diable auto create table in opentsdb api.

Detailed Changes

support ungzip in http api

Test Plan

manaul

jiacai2050 pushed a commit that referenced this pull request Oct 16, 2023
## Rationale
Due to the huge cache of rust before, unit tests often failed due to
insufficient capacity. [CI without
cache](https://github.com/CeresDB/ceresdb/actions/runs/6492219953/job/17630769103?pr=1259)
takes an acceptable time and does not cause failure problems.

#1261 show CI always fail in Rust
Cache.
The github action's time seems have huge volatile,
https://github.com/CeresDB/ceresdb/actions/runs/6517181839/job/17701414760?pr=1259
takes 24 min without cache, some pr have cache even is slower than this
action
## Detailed Changes
Delete out the configuration related to github cache

## Test Plan
CI
proxy/src/opentsdb/types.rs Outdated Show resolved Hide resolved
integration_tests/opentsdb/test-put.py Outdated Show resolved Hide resolved
server/src/http.rs Outdated Show resolved Hide resolved
server/src/http.rs Outdated Show resolved Hide resolved
server/src/http.rs Outdated Show resolved Hide resolved
server/src/http.rs Outdated Show resolved Hide resolved
server/src/http.rs Outdated Show resolved Hide resolved
server/src/http.rs Outdated Show resolved Hide resolved
server/src/http.rs Outdated Show resolved Hide resolved
server/src/http.rs Outdated Show resolved Hide resolved
server/src/http.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jiacai2050 jiacai2050 merged commit 58ed851 into apache:main Oct 16, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants