You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,9 @@ body:
15
15
attributes:
16
16
label: "Checklist"
17
17
options:
18
-
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/template-placeholder/releases/latest)"
18
+
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf/releases/latest)"
19
19
required: true
20
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
20
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf/issues) or [closed](https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
21
21
required: true
22
22
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/enhancement.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ body:
13
13
attributes:
14
14
label: "Checklist"
15
15
options:
16
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf/issues) or [closed](https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
17
17
required: true
18
18
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/question.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ body:
12
12
attributes:
13
13
label: "Checklist"
14
14
options:
15
-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
15
+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf/issues) or [closed](https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16
16
required: true
17
17
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
* Migrated deployment to _Sonatype Maven Central Portal_[#155](https://github.com/xdev-software/standard-maven-template/issues/155)
3
+
* Updated dependencies
4
+
5
+
# 3.0.0
6
+
* In theory the library is [no longer required](https://prometheus.github.io/client_java/exporters/formats/#exclude-protobuf-exposition-format), however [there are still some problems with how the changes have been implemented upstream](https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf/issues/27).
7
+
* Library now completely removes protobuf functionality
8
+
*``PrometheusProtobufWriter`` is no longer loaded in the first place
9
+
* Removed shading once again
10
+
11
+
# 2.0.0
12
+
* Make exclusion work in ``prometheus-metrics-exposition-formats`` 1.3.2+ #3
13
+
*``prometheus-metrics-exposition-formats`` is now directly included using shading
14
+
* All protobuf code is removed during shading
15
+
* This is a workaround until https://github.com/prometheus/client_java/pull/1190 is merged
* Consider doing a [test-deployment](https://github.com/xdev-software/template-placeholder/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
40
+
* Consider doing a [test-deployment](https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
41
41
* Check the [changelog](CHANGELOG.md)
42
42
43
43
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes
Reconfigures [prometheus-metrics-exposition-formats](https://github.com/prometheus/client_java) to remove [protobuf](https://github.com/protocolbuffers/protobuf).
7
+
8
+
This module is designed to integrate with [Spring Boot Actuator (Prometheus)](https://docs.spring.io/spring-boot/api/rest/actuator/prometheus.html) or similar services.
9
+
10
+
### Why remove Protobuf?
11
+
12
+
1.[Prometheus Protobuf format is obsolete/experimental](https://github.com/prometheus/docs/blob/432c621b67906c7cbfcfc293853017d762201ccf/docs/instrumenting/exposition_formats.md#protobuf-format), the chance that it's used is near 0
13
+
2. The additional library can result in additional attack vectors. For example in [CVE-2024-7254](https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-735f-pc8j-v9w8)
14
+
* If the dependency is [reshaded](https://maven.apache.org/plugins/maven-shade-plugin/) it may not be detected by vulnerability scanners (as is the case in ``io.prometheus:prometheus-metrics-exposition-formats <= 1.3.1``)
15
+
3. The protobuf dependency is huge (around 10x bigger) in comparison to the other libraries
16
+
17
+
_See also [prometheus/client_java#1173](https://github.com/prometheus/client_java/issues/1173)_
6
18
7
19
## Installation
8
-
[Installation guide for the latest release](https://github.com/xdev-software/template-placeholder/releases/latest#Installation)
20
+
[Installation guide for the latest release](https://github.com/xdev-software/prometheus-metrics-exposition-formats-no-protobuf/releases/latest#Installation)
21
+
22
+
### Compatibility with ``io.prometheus:prometheus-metrics-exposition-formats``
23
+
24
+
|``io.prometheus:prometheus-metrics-exposition-formats`` version |``prometheus-metrics-exposition-formats-no-protobuf`` version |
If you need support as soon as possible and you can't wait for any pull request, feel free to use [our support](https://xdev.software/en/services/support).
@@ -14,4 +72,4 @@ If you need support as soon as possible and you can't wait for any pull request,
14
72
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.
15
73
16
74
## Dependencies and Licenses
17
-
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/template-placeholder/dependencies)
75
+
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/prometheus-metrics-exposition-formats-no-protobuf/dependencies)
0 commit comments