diff --git a/src/views/settings/components/Other.vue b/src/views/settings/components/Other.vue
index 0a697138..91a9fe2a 100644
--- a/src/views/settings/components/Other.vue
+++ b/src/views/settings/components/Other.vue
@@ -2,6 +2,10 @@
+
+
+
+
@@ -94,6 +98,12 @@ export default {
modulesData() {
return _.get(this.settings.settings, [':pleroma', ':modules']) || {}
},
+ prometheusMetrics() {
+ return this.settings.description.find(setting => setting.key === 'Pleroma.Web.Endpoint.MetricsExporter')
+ },
+ prometheusMetricsData() {
+ return _.get(this.settings.settings, [':prometheus', 'Pleroma.Web.Endpoint.MetricsExporter']) || {}
+ },
remoteIp() {
return this.settings.description.find(setting => setting.key === 'Pleroma.Web.Plugs.RemoteIp')
},
diff --git a/src/views/settings/components/tabs.js b/src/views/settings/components/tabs.js
index 6871ca9b..84907139 100644
--- a/src/views/settings/components/tabs.js
+++ b/src/views/settings/components/tabs.js
@@ -78,7 +78,7 @@ export const tabs = description => {
},
'other': {
label: 'settings.other',
- settings: [':mime', 'Pleroma.User.Backup', 'Pleroma.Web.Plugs.RemoteIp', ':modules', 'Pleroma.Web.ApiSpec.CastAndValidate', ':terms_of_services']
+ settings: [':mime', 'Pleroma.User.Backup', 'Pleroma.Web.Plugs.RemoteIp', 'Pleroma.Web.Endpoint.MetricsExporter', ':modules', 'Pleroma.Web.ApiSpec.CastAndValidate', ':terms_of_services']
}
}
}