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

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

Merged
merged 7 commits into from
Jan 4, 2021

Conversation

levy5307
Copy link
Contributor

@levy5307 levy5307 commented Dec 31, 2020

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
@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