File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 44
55_ None outstanding_
66
7+ # 4.2.1 / 2023-08-04
8+
9+ _ ** Codename:** If a bug falls in the forest_
10+
11+ ## Bug fixes
12+
13+ - [ #291 ] ( https://github.com/prometheus/client_ruby/pull/291 ) Handle ` / ` in job name in
14+ ` Prometheus::Client::Push ` :
15+ Previously, if you included a ` / ` in your job name when using the Pushgateway client,
16+ you'd get a ` 400 ` error back as we didn't encode it properly. We now base64 encode it
17+ per the Pushgateway spec.
18+
19+ It's possible that nobody has hit this bug (` / ` is fairly unlikely to appear in a job
20+ name) or that the error message (a ` 400 ` from Pushgateway with a complaint about an
21+ odd number of path components) didn't make it look like a bug in the Ruby client.
22+ Either way, this hopefully brings us fully in line with the spec!
23+
724# 4.2.0 / 2023-07-25
825
926_ ** Codename:** Funny number_
Original file line number Diff line number Diff line change 22
33module Prometheus
44 module Client
5- VERSION = '4.2.0 '
5+ VERSION = '4.2.1 '
66 end
77end
You can’t perform that action at this time.
0 commit comments