- 05 Apr, 2019 36 commits
-
-
rpereira2 authored
-
rpereira2 authored
-
rpereira2 authored
- Use strong_memoize for prometheus_adapter since it can be nil in some cases. - Do not phrase spec descriptions with 'should'.
-
rpereira2 authored
The names can change in different runs of the spec.
-
rpereira2 authored
-
rpereira2 authored
- It is now being done in ProxyService class.
-
rpereira2 authored
-
Peter Leitzen authored
-
Peter Leitzen authored
-
rpereira2 authored
The api will proxy requests to the environment's prometheus server. The Prometheus::ProxyService class can be reused when we add support for group prometheus servers.
-
rpereira2 authored
- This is so that we don't have to check that params is of type ActionController::Parameters in ProxyService.
-
rpereira2 authored
- Permit params in ProxyService class to avoid having to make changes to both ProxyService and to PrometheusApiController when adding support for more prometheus apis. - Also refactor the cache specs.
-
rpereira2 authored
- proxyable is a better name for any model object that has a prometheus server to which requests can be proxied.
-
rpereira2 authored
-
rpereira2 authored
- It is unlikely that we will stop supporting prometheus APIs that were previously supported.
-
Peter Leitzen authored
-
Peter Leitzen authored
-
rpereira2 authored
-
rpereira2 authored
-
rpereira2 authored
- Add a method for returning a service_unavailable response. - Keep only one spec to test that the prometheus response is returned as-is.
-
rpereira2 authored
- calculate_reactive_cache does not need to initialize @prometheus_owner again. It's already being initialized in the initialize method.
-
rpereira2 authored
- The service uses the PrometheusClient.proxy method to call the Prometheus API with the given parameters, and returns the body and http status code of the API response to the caller of the service. - The service uses reactive caching in order to prevent Puma/Unicorn threads from being blocked until the Prometheus API responds.
-
rpereira2 authored
- Also refactor the get and json_api_get methods so that the get method can be reused by the new proxy method. - The new proxy method makes no changes to the request to the prometheus server and response from the prometheus server. This allows it to be used as a proxy to the Prometheus server, hence the name.
-
GitLab Bot authored
-
Evan Read authored
Fix capitalization of a sentence in CONTRIBUTING.md See merge request gitlab-org/gitlab-ce!27021
-
GitLab Bot authored
-
Mike Greiling authored
Backport Resizable container component for gl-charts See merge request gitlab-org/gitlab-ce!26843
-
Fernando Arias authored
* Fix up graph resize logic if navbar is collapsed Add snapshot
-
Mike Greiling authored
Resize vuln graph See merge request gitlab-org/gitlab-ee!10028
-
GitLab Bot authored
-
Achilleas Pipinellis authored
Clarify the Runner registration and authentication tokens See merge request gitlab-org/gitlab-ce!26996
-
Achilleas Pipinellis authored
-
Evan Read authored
Specify the release that app will be removed from Deploy Boards Closes #9221 See merge request gitlab-org/gitlab-ee!10607
-
GitLab Bot authored
-
Douglas Barbosa Alexandre authored
Merge branch '9217-warn-on-git-fetch-over-ssh-if-the-secondary-is-lagging-the-primary' into 'master' Display console messages, if available See merge request gitlab-org/gitlab-ce!26692
-
Douglas Barbosa Alexandre authored
Merge branch '9217-warn-on-git-fetch-over-ssh-if-the-secondary-is-lagging-the-primary' into 'master' Geo: Display secondary replication lag on console (if lag > 0 seconds) Closes #9217 See merge request gitlab-org/gitlab-ee!10471
-
- 04 Apr, 2019 4 commits
-
-
GitLab Bot authored
-
Clement Ho authored
Resolve "Hide Kubernetes cluster warning if project has cluster related" See merge request gitlab-org/gitlab-ce!26749
-
GitLab Bot authored
-
Douglas Barbosa Alexandre authored
Fix and expand Gitaly FindCommit caching See merge request gitlab-org/gitlab-ce!27018
-