- 04 Apr, 2019 40 commits
-
-
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
- Use strong_memoize for prometheus_adapter since it can be nil in some cases. - Do not phrase spec descriptions with 'should'.
-
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.
-
Kamil Trzciński authored
Drop legacy artifacts usage as there are no leftovers See merge request gitlab-org/gitlab-ce!24294
-
Douglas Barbosa Alexandre authored
Fix a KeyError in GitlabSchema Closes #60057 See merge request gitlab-org/gitlab-ce!27011
-
Nick Thomas authored
Rename Workhorse terminal_specification to channel_specification See merge request gitlab-org/gitlab-ce!26939
-
Francisco Javier López authored
We're moving from using terminology related to terminals when we refer to Websockets connections in Workhorse. It's more appropiate a concept like channel.
-
Nick Thomas authored
-
Michael Kozono authored
Allow reactive caching to be used in services See merge request gitlab-org/gitlab-ce!26839
-
Reuben Pereira authored
Add support for defining a reactive_cache_worker_finder function that will be used by the reactive_caching_worker to generate/initialize the calling object. This allows reactive caching to work with Services where the object cannot be obtained from DB but a new object can be initialized.
-
Nick Thomas authored
Allow GraphQL Scalar-fields to be authorized Closes #57831 See merge request gitlab-org/gitlab-ce!26338
-
Nick Thomas authored
Externalize strings in helpers See merge request gitlab-org/gitlab-ce!26845
-
Martin Wortschack authored
- Update qa selector - Update PO file
-
Phil Hughes authored
Fix vue render error for IDE status bar Closes #59995 See merge request gitlab-org/gitlab-ce!26979
-
Douwe Maan authored
Allow to sort wiki pages by date and title See merge request gitlab-org/gitlab-ce!25365
-
Igor authored
- Add controls for sorting by title and date - Execute Gitaly call which now accepts sorting params for wikis
-
Douglas Barbosa Alexandre authored
Update GitLab Shell to v9.0.0 See merge request gitlab-org/gitlab-ce!27002
-
Rémy Coutable authored
Basic limiting complexity of GraphQL queries Closes #58405 See merge request gitlab-org/gitlab-ce!26629
-
James Lopez authored
Resolve "Automatically set Prometheus step interval" Closes #58839 See merge request gitlab-org/gitlab-ce!26441
-
Peter Leitzen authored
By computing the step interval passed to the query_range Prometheus API call we improve the performance on the Prometheus server and GitLab by reducing the amount of data points sent back and prevent Prometheus from sending errors when requesting longer intervals.
-
Sean McGivern authored
Resolve "Failing group transfer disables expandable sections" Closes #45511 See merge request gitlab-org/gitlab-ce!26837
-
Sean McGivern authored
Extract confidential quick action spec to a shared example Closes #59570 See merge request gitlab-org/gitlab-ce!26913
-
Nick Thomas authored
-
Marcia Ramos authored
Add a link to S3 Permission Scopes for registry object storage Closes #58881 See merge request gitlab-org/gitlab-ce!26067
-
Diana Stanley authored
-
Sean McGivern authored
Allow to use untrusted ruby syntax See merge request gitlab-org/gitlab-ce!26905
-
Kamil Trzciński authored
This brings support for untrusted regexp for 'only:refs:' when enabled via feature flag: alllow_unsafe_ruby_regexp. This is by default disabled, and should not be used in production
-