celeborn/service
fwang12 655d5762ca [CELEBORN-1076] Using text/plain content type for prometheus metrics
### 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>
2023-10-23 17:56:01 +08:00
..
src [CELEBORN-1076] Using text/plain content type for prometheus metrics 2023-10-23 17:56:01 +08:00
pom.xml [BUILD] Extract project.version to Maven Property (#772) 2022-10-16 19:01:40 +08:00