Merge pull request #7994 from owncloud/proxy-metrics

feat: RED metrics
This commit is contained in:
Michael Barz committed 2023-12-21 15:31:18 +00:00
1 parent 7073289d5a
commit 4dc63deeed
85 files changed
+153 -116

No files matched your search

@@ -1,7 +1,7 @@
---
title: "ocis.messages.eventhistory.v0"
url: /apis/grpc_apis/ocis_messages_eventhistory_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.policies.v0"
url: /apis/grpc_apis/ocis_messages_policies_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.search.v0"
url: /apis/grpc_apis/ocis_messages_search_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.settings.v0"
url: /apis/grpc_apis/ocis_messages_settings_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.store.v0"
url: /apis/grpc_apis/ocis_messages_store_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.messages.thumbnails.v0"
url: /apis/grpc_apis/ocis_messages_thumbnails_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.eventhistory.v0"
url: /apis/grpc_apis/ocis_services_eventhistory_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.policies.v0"
url: /apis/grpc_apis/ocis_services_policies_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.search.v0"
url: /apis/grpc_apis/ocis_services_search_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.settings.v0"
url: /apis/grpc_apis/ocis_services_settings_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.store.v0"
url: /apis/grpc_apis/ocis_services_store_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -1,7 +1,7 @@
---
title: "ocis.services.thumbnails.v0"
url: /apis/grpc_apis/ocis_services_thumbnails_v0
date: 2023-12-21T13:37:12Z
date: 2023-12-21T15:29:28Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the antivirus service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the app-provider service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the app-registry service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the audit service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the auth-basic service
[width="100%",cols="~,~,~,~",options="header"]
@@ -263,7 +263,7 @@ LDAP DN to use for simple bind authentication with the target LDAP server.
a|`OCIS_LDAP_BIND_PASSWORD` +
`LDAP_BIND_PASSWORD` +
`AUTH_BASIC_LDAP_BIND_PASSWORD` +
xref:deprecation-note-2023-12-21-13-37-34[Deprecation Note]
xref:deprecation-note-2023-12-21-15-29-45[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the auth-bearer service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the auth-machine service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the auth-service service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the clientlog service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the eventhistory service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the frontend service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the gateway service
[width="100%",cols="~,~,~,~",options="header"]
+24 -24
View File
@@ -33,7 +33,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Flag to enable or disable the creation of the demo users.
The default role assignments the demo users should be setup.
a| `LDAP_BIND_PASSWORD`
@@ -67,7 +67,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
ID of the user that should receive admin privileges. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand.
ID of the user who collects all necessary information for deletion. Consider that the UUID can be encoded in some LDAP deployment configurations like in .ldif files. These need to be decoded beforehand.
a| `OCIS_ASYNC_UPLOADS`
@@ -134,7 +134,7 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++settings-cache ++
++cache-stat ++
a| [subs=-attributes]
The database name the configured store should use.
@@ -161,7 +161,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Disables persistence of the cache. Only applies when store type 'nats-js-kv' is configured. Defaults to false.
Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false.
a| `OCIS_CACHE_SIZE`
@@ -185,7 +185,7 @@ a| [subs=-attributes]
++0 ++
a| [subs=-attributes]
The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitely set as default.
Max number of entries to hold in the cache.
a| `OCIS_CACHE_STORE`
@@ -253,10 +253,10 @@ a| [subs=-attributes]
++Duration ++
a| [subs=-attributes]
++336h0m0s ++
++5m0s ++
a| [subs=-attributes]
Time to live for cache records in the graph. Defaults to '336h' (2 weeks). See the Environment Variable Types description for more details.
Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
a| `OCIS_CORS_ALLOW_CREDENTIALS`
@@ -303,7 +303,7 @@ a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[Authorization Origin Content-Type Accept X-Requested-With X-Request-Id Purge Restore] ++
++[Origin Accept Content-Type Depth Authorization Ocs-Apirequest If-None-Match If-Match Destination Overwrite X-Request-Id X-Requested-With Tus-Resumable Tus-Checksum-Algorithm Upload-Concat Upload-Length Upload-Metadata Upload-Defer-Length Upload-Expires Upload-Checksum Upload-Offset X-HTTP-Method-Override Cache-Control] ++
a| [subs=-attributes]
A list of allowed CORS headers. See following chapter for more details: *Access-Control-Request-Headers* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers. See the Environment Variable Types description for more details.
@@ -328,7 +328,7 @@ a| [subs=-attributes]
++[]string ++
a| [subs=-attributes]
++[GET POST PUT PATCH DELETE OPTIONS] ++
++[OPTIONS HEAD GET PUT POST DELETE MKCOL PROPFIND PROPPATCH MOVE COPY REPORT SEARCH] ++
a| [subs=-attributes]
A list of allowed CORS methods. See following chapter for more details: *Access-Control-Request-Method* at \https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method. See the Environment Variable Types description for more details.
@@ -417,7 +417,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Set this option to 'true' to disable rendering of thumbnails triggered via webdav access. Note that when disabled, all access to preview related webdav paths will return a 404.
Set this option to 'true' to disable previews in all the different web file listing views. This can speed up file listings in folders with many files. The only list view that is not affected by this setting is the trash bin, as it does not allow previewing at all.
a| `OCIS_EDITION`
@@ -447,7 +447,7 @@ a| [subs=-attributes]
++true ++
a| [subs=-attributes]
Changing this value is NOT supported. Enables the support for resharing.
Changing this value is NOT supported. Enables the support for resharing in the clients.
a| `OCIS_EVENTS_AUTH_PASSWORD`
@@ -526,7 +526,7 @@ a| [subs=-attributes]
++ocis-cluster ++
a| [subs=-attributes]
The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture.
The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Mandatory when using NATS as event system.
a| `OCIS_EVENTS_ENABLE_TLS`
@@ -581,7 +581,7 @@ a| [subs=-attributes]
++127.0.0.1:9233 ++
a| [subs=-attributes]
The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Set to a empty string to disable emitting events.
The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture.
a| `OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE`
@@ -607,7 +607,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
The root CA certificate used to validate the server's TLS certificate. If provided GRAPH_EVENTS_TLS_INSECURE will be seen as false.
The root CA certificate used to validate the server's TLS certificate. If provided NOTIFICATIONS_EVENTS_TLS_INSECURE will be seen as false.
a| `OCIS_GATEWAY_GRPC_ADDR`
@@ -622,7 +622,7 @@ a| [subs=-attributes]
++127.0.0.1:9142 ++
a| [subs=-attributes]
The bind address of the GRPC service.
The bind address of the gateway GRPC address.
a| `OCIS_GRPC_CLIENT_TLS_CACERT`
@@ -798,7 +798,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Whether to verify the server TLS certificates.
Allow insecure connections to the frontend.
a| `OCIS_JWT_SECRET`
@@ -1653,7 +1653,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
Machine auth API key used to validate internal requests necessary for the access to resources from other services.
The machine auth API key used to validate internal requests necessary to access resources from other services.
a| `OCIS_OIDC_ISSUER`
@@ -1674,7 +1674,7 @@ a| [subs=-attributes]
++https://localhost:9200 ++
a| [subs=-attributes]
The identity provider value to set in the userids of the CS3 user objects for users returned by this user provider.
URL of the OIDC issuer. It defaults to URL of the builtin IDP.
a| `OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST`
@@ -1857,10 +1857,10 @@ a| [subs=-attributes]
++Duration ++
a| [subs=-attributes]
++336h0m0s ++
++0s ++
a| [subs=-attributes]
Time to live for events in the store. Defaults to '336h' (2 weeks). See the Environment Variable Types description for more details.
Time to live for events in the store. See the Environment Variable Types description for more details.
a| `OCIS_REVA_GATEWAY`
@@ -1976,7 +1976,7 @@ a| [subs=-attributes]
++false ++
a| [subs=-attributes]
Set this to true if you want to enforce passwords on Uploader, Editor or Contributor shares. If not using the global OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD, you must define the FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD in the frontend service.
Set this to true if you want to enforce passwords on Uploader, Editor or Contributor shares.
a| `OCIS_SPACES_MAX_QUOTA`
@@ -2029,7 +2029,7 @@ a| [subs=-attributes]
++ ++
a| [subs=-attributes]
ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.
ID of the oCIS storage-system system user. Admins need to set the ID for the STORAGE-SYSTEM system user in this config option which is then used to reference the user. Any reasonable long string is possible, preferably this would be an UUIDv4 format.
a| `OCIS_SYSTEM_USER_IDP`
@@ -2317,10 +2317,10 @@ a| [subs=-attributes]
++string ++
a| [subs=-attributes]
++https://localhost:9200 ++
++https://localhost:9200/ ++
a| [subs=-attributes]
The public facing URL of WebDAV.
Base url to navigate back from the app to the containing folder in the file list.
a| `STORAGE_USERS_ASYNC_PROPAGATOR_PROPAGATION_DELAY`
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the graph service
[width="100%",cols="~,~,~,~",options="header"]
@@ -527,7 +527,7 @@ LDAP DN to use for simple bind authentication with the target LDAP server.
a|`OCIS_LDAP_BIND_PASSWORD` +
`LDAP_BIND_PASSWORD` +
`GRAPH_LDAP_BIND_PASSWORD` +
xref:deprecation-note-2023-12-21-13-37-34[Deprecation Note]
xref:deprecation-note-2023-12-21-15-29-45[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the groups service
[width="100%",cols="~,~,~,~",options="header"]
@@ -263,7 +263,7 @@ LDAP DN to use for simple bind authentication with the target LDAP server.
a|`OCIS_LDAP_BIND_PASSWORD` +
`LDAP_BIND_PASSWORD` +
`GROUPS_LDAP_BIND_PASSWORD` +
xref:deprecation-note-2023-12-21-13-37-34[Deprecation Note]
xref:deprecation-note-2023-12-21-15-29-45[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the idm service
[width="100%",cols="~,~,~,~",options="header"]
+2 -2
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the idp service
[width="100%",cols="~,~,~,~",options="header"]
@@ -445,7 +445,7 @@ LDAP DN to use for simple bind authentication with the target LDAP server.
a|`OCIS_LDAP_BIND_PASSWORD` +
`LDAP_BIND_PASSWORD` +
`IDP_LDAP_BIND_PASSWORD` +
xref:deprecation-note-2023-12-21-13-37-34[Deprecation Note]
xref:deprecation-note-2023-12-21-15-29-45[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the invitations service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the nats service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the notifications service
[width="100%",cols="~,~,~,~",options="header"]
@@ -221,7 +221,7 @@ a| [subs=-attributes]
Authentication method for the SMTP communication. Possible values are 'login', 'plain', 'crammd5', 'none' or 'auto'. If set to 'auto' or unset, the authentication method is automatically negotiated with the server.
a|`NOTIFICATIONS_SMTP_ENCRYPTION` +
xref:deprecation-note-2023-12-21-13-37-34[Deprecation Note]
xref:deprecation-note-2023-12-21-15-29-45[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the ocdav service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the ocm service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the ocs service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the policies service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the postprocessing service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the proxy service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the search service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the settings service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the sharing service
[width="100%",cols="~,~,~,~",options="header"]
@@ -235,7 +235,7 @@ Whether to verify the server TLS certificates.
a|`OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE` +
`SHARING_EVENTS_TLS_ROOT_CA_CERTIFICATE` +
`SHARING_EVENTS_TLS_ROOT_CA_CERT` +
xref:deprecation-note-2023-12-21-13-37-34[Deprecation Note]
xref:deprecation-note-2023-12-21-15-29-45[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the sse service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the storage-publiclink service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the storage-shares service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the storage-system service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the storage-users service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the store service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the thumbnails service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the userlog service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the users service
[width="100%",cols="~,~,~,~",options="header"]
@@ -268,7 +268,7 @@ LDAP DN to use for simple bind authentication with the target LDAP server.
a|`OCIS_LDAP_BIND_PASSWORD` +
`LDAP_BIND_PASSWORD` +
`USERS_LDAP_BIND_PASSWORD` +
xref:deprecation-note-2023-12-21-13-37-34[Deprecation Note]
xref:deprecation-note-2023-12-21-15-29-45[Deprecation Note]
a| [subs=-attributes]
++string ++
a| [subs=-attributes]
@@ -420,7 +420,7 @@ LDAP Attribute to use as the unique ID for users. This should be a stable global
a|`OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` +
`LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` +
`USERS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING` +
xref:deprecation-note-2023-12-21-13-37-34[Deprecation Note]
xref:deprecation-note-2023-12-21-15-29-45[Deprecation Note]
a| [subs=-attributes]
++bool ++
a| [subs=-attributes]
+1 -1
View File
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the web service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the webdav service
[width="100%",cols="~,~,~,~",options="header"]
@@ -4,7 +4,7 @@
ifeval::[{show-deprecation} == true]
[#deprecation-note-2023-12-21-13-37-34]
[#deprecation-note-2023-12-21-15-29-45]
[caption=]
.Deprecation notes for the webfinger service
[width="100%",cols="~,~,~,~",options="header"]
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Antivirus
date: 2023-12-21T13:37:38.087175055Z
date: 2023-12-21T15:29:48.090947874Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/antivirus
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Audit
date: 2023-12-21T13:37:38.087510751Z
date: 2023-12-21T15:29:48.091177944Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/audit
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Basic
date: 2023-12-21T13:37:38.087671471Z
date: 2023-12-21T15:29:48.091262463Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-basic
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Bearer
date: 2023-12-21T13:37:38.087861075Z
date: 2023-12-21T15:29:48.091347491Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-bearer
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Machine
date: 2023-12-21T13:37:38.088042224Z
date: 2023-12-21T15:29:48.091427111Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-machine
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Auth-Service
date: 2023-12-21T13:37:38.088230305Z
date: 2023-12-21T15:29:48.091494517Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/auth-service
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Clientlog Service
date: 2023-12-21T13:37:38.088471435Z
date: 2023-12-21T15:29:48.091610245Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/clientlog
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Eventhistory
date: 2023-12-21T13:37:38.088706604Z
date: 2023-12-21T15:29:48.091714559Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/eventhistory
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Frontend
date: 2023-12-21T13:37:38.088926634Z
date: 2023-12-21T15:29:48.091805891Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/frontend
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Gateway
date: 2023-12-21T13:37:38.089186839Z
date: 2023-12-21T15:29:48.091921778Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/gateway
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Graph
date: 2023-12-21T13:37:38.08942766Z
date: 2023-12-21T15:29:48.091995757Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/graph
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: IDM
date: 2023-12-21T13:37:38.089688587Z
date: 2023-12-21T15:29:48.092071348Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/idm
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: IDP
date: 2023-12-21T13:37:38.089860216Z
date: 2023-12-21T15:29:48.092147301Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/idp
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Invitations
date: 2023-12-21T13:37:38.090025626Z
date: 2023-12-21T15:29:48.092255784Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/invitations
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Nats
date: 2023-12-21T13:37:38.090215099Z
date: 2023-12-21T15:29:48.092377531Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/nats
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Notification
date: 2023-12-21T13:37:38.090413259Z
date: 2023-12-21T15:29:48.092468132Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/notifications
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: ocDAV
date: 2023-12-21T13:37:38.090608494Z
date: 2023-12-21T15:29:48.092554754Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/ocdav
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: OCM
date: 2023-12-21T13:37:38.090784533Z
date: 2023-12-21T15:29:48.092619576Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/ocm
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: OCS Service
date: 2023-12-21T13:37:38.090950312Z
date: 2023-12-21T15:29:48.092693895Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/ocs
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Policies
date: 2023-12-21T13:37:38.091142301Z
date: 2023-12-21T15:29:48.092785146Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/policies
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Postprocessing
date: 2023-12-21T13:37:38.09146888Z
date: 2023-12-21T15:29:48.092923174Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/postprocessing
+38 -1
View File
@@ -1,6 +1,6 @@
---
title: Proxy
date: 2023-12-21T13:37:38.091751237Z
date: 2023-12-21T15:29:48.09306499Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/proxy
@@ -27,6 +27,11 @@ The proxy service is the only service communicating to the outside and needs the
* [Recommendations for Production Deployments](#recommendations-for-production-deployments)
* [Caching](#caching)
* [Special Settings](#special-settings)
* [Metrics](#metrics)
* [1) Single Process Mode](#1)-single-process-mode)
* [2) Standalone Mode](#2)-standalone-mode)
* [Available Metrics](#available-metrics)
* [Prometheus Configuration](#prometheus-configuration)
* [Example Yaml Config](#example-yaml-config)
## Authentication
@@ -185,6 +190,38 @@ When using the ocis IDP service instead of an external IDP:
- Use the environment variable `OCIS_URL` to define how ocis can be accessed, mandatory use `https` as protocol for the URL.
- If no reverse proxy is set up, the `PROXY_TLS` environment variable **must** be set to `true` because the embedded `libreConnect` shipped with the IDP service has a hard check if the connection is on TLS and uses the HTTPS protocol. If this mismatches, an error will be logged and no connection from the client can be established.
- `PROXY_TLS` **can** be set to `false` if a reverse proxy is used and the https connection is terminated at the reverse proxy. When setting to `false`, the communication between the reverse proxy and ocis is not secured. If set to `true`, you must provide certificates.
## Metrics
The proxy service in ocis has the ability to expose metrics in the prometheus format. The metrics are exposed on the `/metrics` endpoint. There are two ways to run the ocis proxy service which has an impact on the number of metrics exposed.
### 1) Single Process Mode
In the single process mode, all ocis services are running inside a single process. This is the default mode when using the `ocis server` command to start the services. In this mode, the proxy service exposes metrics about the proxy service itself and about the ocis services it is proxying. This is due to the nature of the prometheus registry which is a singleton. The metrics exposed by the proxy service itself are prefixed with `ocis_proxy_` and the metrics exposed by other ocis services are prefixed with `ocis_<service-name>_`.
### 2) Standalone Mode
In this mode, the proxy service only exposes its own metrics. The metrics of the other ocis services are exposed on their own metrics endpoints.
### Available Metrics
The following metrics are exposed by the proxy service:
| Metric Name | Description | Labels |
|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|
| `ocis_proxy_requests_total` | [Counter](https://prometheus.io/docs/tutorials/understanding_metric_types/#counter) metric which reports the total number of HTTP requests. | `method`: HTTP method of the request |
| `ocis_proxy_errors_total` | [Counter](https://prometheus.io/docs/tutorials/understanding_metric_types/#counter) metric which reports the total number of HTTP requests which have failed. That counts all response codes >= 500 | `method`: HTTP method of the request |
| `ocis_proxy_duration_seconds` | [Histogram](https://prometheus.io/docs/tutorials/understanding_metric_types/#histogram) of the time (in seconds) each request took. A histogram metric uses buckets to count the number of events that fall into each bucket. | `method`: HTTP method of the request |
| `ocis_proxy_build_info{version}` | A metric with a constant `1` value labeled by version, exposing the version of the ocis proxy service. | `version`: Build version of the proxy |
### Prometheus Configuration
The following is an example prometheus configuration for the single process mode. It assumes that the proxy service is configured to bind on all interfaces `PROXY_HTTP_ADDR=0.0.0.0:9205` and that the proxy is available via the `ocis` service name (typically in docker-compose). The prometheus service detects the `/metrics` endpoint automatically and scrapes it every 15 seconds.
```yaml
global:
scrape_interval: 15s
scrape_configs:
- job_name: ocis_proxy
static_configs:
- targets: ["ocis:9205"]
```
## Example Yaml Config
{{< include file="services/_includes/proxy-config-example.yaml" language="yaml" >}}
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Search
date: 2023-12-21T13:37:38.092065173Z
date: 2023-12-21T15:29:48.093223587Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/search
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Settings
date: 2023-12-21T13:37:38.092428771Z
date: 2023-12-21T15:29:48.093361877Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/settings
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: SSE
date: 2023-12-21T13:37:38.092663229Z
date: 2023-12-21T15:29:48.093457827Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/sse
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Storage-System
date: 2023-12-21T13:37:38.092817297Z
date: 2023-12-21T15:29:48.093532256Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/storage-system
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Storage-Users
date: 2023-12-21T13:37:38.093062395Z
date: 2023-12-21T15:29:48.093643584Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/storage-users
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Thumbnails
date: 2023-12-21T13:37:38.093357996Z
date: 2023-12-21T15:29:48.095184622Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/thumbnails
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Userlog
date: 2023-12-21T13:37:38.093696228Z
date: 2023-12-21T15:29:48.095348139Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/userlog
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Web
date: 2023-12-21T13:37:38.093924283Z
date: 2023-12-21T15:29:48.095460109Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/web
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Webdav
date: 2023-12-21T13:37:38.094098939Z
date: 2023-12-21T15:29:48.095536291Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/webdav
+1 -1
View File
@@ -1,6 +1,6 @@
---
title: Webfinger
date: 2023-12-21T13:37:38.094276641Z
date: 2023-12-21T15:29:48.095668168Z
weight: 20
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/services/webfinger