Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

feat: add http interface to get a specified config - #719

Merged
hycdong merged 7 commits into
XiaoMi:masterfrom
levy5307:get-config
Jan 4, 2021
Merged

hycdong merged 7 commits into
XiaoMi:masterfrom
levy5307:get-config

Conversation

@levy5307

@levy5307 levy5307 commented Dec 31, 2020 •

Copy link
Copy Markdown
Contributor

add http interface to get a specified config

TEST

request:
http://localhost:34801/config?name=abnormal_write_trace_latency_threshold

response:

{"name":"abnormal_write_trace_latency_threshold","section":"replication","type":"FV_UINT64","tags":"","description":"latency trace will be logged when exceed the write latency threshold","value":"1000000000"}

hycdong
hycdong previously approved these changes Dec 31, 2020
neverchanje
neverchanje previously approved these changes Dec 31, 2020
Comment thread src/utils/test/flag_test.cpp Resolved
@hycdong
hycdong merged commit 5fe7ff1 into XiaoMi:master Jan 4, 2021
@neverchanje neverchanje added the component/http HTTP/RESTful support label Feb 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

component/http HTTP/RESTful support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants