summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2018-05-15 17:37:19 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2018-05-15 17:38:39 +0200
commitc003337729e6a68df10878f77b11c7a24321df9c (patch)
tree1e17667be4468aa060e0b701b957657578002fa6 /changelogs
parentf4ef6b474c44eb8e7034034dd95152818ae33b4a (diff)
downloadgitlab-ce-c003337729e6a68df10878f77b11c7a24321df9c.tar.gz
Fix setting Gitlab metrics content types
The method "content_type" on a controller does not always return the correct content type. On the other hand, the method "request_format" does _and_ immediately returns a Symbol (e.g. :json) instead of a mime-type name (e.g. application/json). With these changes metrics should again report their action names correctly. Fixes https://gitlab.com/gitlab-com/infrastructure/issues/3499
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/fix-metrics-content-types.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/fix-metrics-content-types.yml b/changelogs/unreleased/fix-metrics-content-types.yml
new file mode 100644
index 00000000000..a418dccffc3
--- /dev/null
+++ b/changelogs/unreleased/fix-metrics-content-types.yml
@@ -0,0 +1,5 @@
+---
+title: Fix setting Gitlab metrics content types
+merge_request:
+author:
+type: fixed