### What changes were proposed in this pull request? Refer https://github.com/prometheus/docs/blob/main/content/docs/instrumenting/exposition_formats.md#basic-info The http content type is better be `text/plain`. ### Why are the changes needed? As describe in https://github.com/prometheus/docs/blob/main/content/docs/instrumenting/exposition_formats.md#basic-info. Advantages ``` Human-readable Easy to assemble, especially for minimalistic cases (no nesting required) Readable line by line (with the exception of type hints and docstrings) ``` ### Does this PR introduce _any_ user-facing change? The http content type change. ### How was this patch tested? <img width="910" alt="image" src="https://github.com/apache/incubator-celeborn/assets/6757692/6cc9b071-3149-48fb-9aab-66506a72be3f"> Closes #2014 from turboFei/metrics_plain. Authored-by: fwang12 <fwang12@ebay.com> Signed-off-by: zky.zhoukeyong <zky.zhoukeyong@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||