Commit Graph

83 Commits

Author SHA1 Message Date
GitLab Bot 6081c12244 Add latest changes from gitlab-org/gitlab@master 2023-10-17 12:10:51 +00:00
GitLab Bot 49d36ce6e3 Add latest changes from gitlab-org/gitlab@master 2023-10-04 12:17:55 +00:00
GitLab Bot da5028d723 Add latest changes from gitlab-org/gitlab@master 2023-09-21 12:07:54 +00:00
GitLab Bot 6c4f8ad2d9 Add latest changes from gitlab-org/gitlab@master 2023-09-20 09:12:59 +00:00
GitLab Bot 87ce80bead Add latest changes from gitlab-org/gitlab@master 2023-09-19 18:11:47 +00:00
GitLab Bot 0c9606b712 Add latest changes from gitlab-org/gitlab@master 2023-09-19 15:14:42 +00:00
GitLab Bot 236caf4b92 Add latest changes from gitlab-org/gitlab@master 2023-09-19 09:10:17 +00:00
GitLab Bot 1ba682300f Add latest changes from gitlab-org/gitlab@master 2023-09-12 15:12:04 +00:00
GitLab Bot c972699d39 Add latest changes from gitlab-org/gitlab@master 2023-06-20 21:09:21 +00:00
GitLab Bot 15e5a05bcd Add latest changes from gitlab-org/gitlab@master 2023-04-25 00:08:36 +00:00
GitLab Bot 6f9218ac84 Add latest changes from gitlab-org/gitlab@master 2023-03-14 09:08:45 +00:00
GitLab Bot 3c4d101de0 Add latest changes from gitlab-org/gitlab@master 2023-03-02 18:12:20 +00:00
GitLab Bot be8b477154 Add latest changes from gitlab-org/gitlab@master 2021-06-29 03:07:32 +00:00
GitLab Bot d04f2be14d Add latest changes from gitlab-org/gitlab@master 2021-06-23 18:07:10 +00:00
GitLab Bot cb0a625459 Add latest changes from gitlab-org/gitlab@master 2021-06-18 21:10:06 +00:00
GitLab Bot f5987db869 Add latest changes from gitlab-org/gitlab@master 2021-06-03 12:10:18 +00:00
GitLab Bot 06d5641a54 Add latest changes from gitlab-org/gitlab@master 2021-05-10 00:10:37 +00:00
GitLab Bot 3ff77f7f70 Add latest changes from gitlab-org/gitlab@master 2021-04-24 03:09:38 +00:00
GitLab Bot 69b0ff9002 Add latest changes from gitlab-org/gitlab@master 2021-04-15 12:09:05 +00:00
GitLab Bot a060caf3db Add latest changes from gitlab-org/gitlab@master 2021-01-05 09:10:15 +00:00
GitLab Bot 6092dcc437 Add latest changes from gitlab-org/gitlab@master 2020-10-02 12:09:03 +00:00
GitLab Bot dd240e5cc4 Add latest changes from gitlab-org/gitlab@master 2020-09-30 15:09:46 +00:00
GitLab Bot bf1600d157 Add latest changes from gitlab-org/gitlab@master 2020-09-16 18:09:47 +00:00
GitLab Bot a66475b6be Add latest changes from gitlab-org/gitlab@master 2020-09-11 21:08:44 +00:00
GitLab Bot 2368893df7 Add latest changes from gitlab-org/gitlab@master 2020-08-31 15:10:41 +00:00
GitLab Bot bdca097916 Add latest changes from gitlab-org/gitlab@master 2020-08-11 03:11:00 +00:00
GitLab Bot c59765a50a Add latest changes from gitlab-org/gitlab@master 2020-06-24 18:09:03 +00:00
GitLab Bot c66aadd2ee Add latest changes from gitlab-org/gitlab@master 2020-06-04 06:08:42 +00:00
GitLab Bot 513eff6210 Add latest changes from gitlab-org/gitlab@master 2020-04-16 09:09:37 +00:00
GitLab Bot 903ccf7c93 Add latest changes from gitlab-org/gitlab@master 2020-04-07 12:09:34 +00:00
GitLab Bot 2711c26bea Add latest changes from gitlab-org/gitlab@master 2020-03-24 00:09:24 +00:00
GitLab Bot f4186a753b Add latest changes from gitlab-org/gitlab@master 2020-03-09 09:07:45 +00:00
GitLab Bot fedf978f9a Add latest changes from gitlab-org/gitlab@master 2020-01-28 15:08:36 +00:00
GitLab Bot a821bd6ad1 Add latest changes from gitlab-org/gitlab@master 2020-01-08 09:07:53 +00:00
GitLab Bot bc3e57199e Add latest changes from gitlab-org/gitlab@master 2019-12-21 03:07:37 +00:00
GitLab Bot e723867717 Add latest changes from gitlab-org/gitlab@master 2019-12-17 18:07:48 +00:00
GitLab Bot 784fae4b9d Add latest changes from gitlab-org/gitlab@master 2019-12-12 12:07:33 +00:00
GitLab Bot 330eac18ce Add latest changes from gitlab-org/gitlab@master 2019-12-09 03:07:57 +00:00
GitLab Bot 3fc9a8e695 Add latest changes from gitlab-org/gitlab@master 2019-11-15 12:06:12 +00:00
GitLab Bot 2b7a521434 Add latest changes from gitlab-org/gitlab@master 2019-11-04 09:06:21 +00:00
Ash McKenzie 19ff9d9899
Replace rails_helper.rb with spec_helper.rb
rails_helper.rb's only logic was to require
spec_helper.rb.
2019-08-30 12:26:18 +10:00
Thong Kuah 8c42a0eac0 Add frozen_string_literal to lib part 2
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-08-23 00:15:24 +12:00
Tiger Watson 36a01a88ce Use separate Kubernetes namespaces per environment
Kubernetes deployments on new clusters will now have
a separate namespace per project environment, instead
of sharing a single namespace for the project.

Behaviour of existing clusters is unchanged.

All new functionality is controlled by the
:kubernetes_namespace_per_environment feature flag,
which is safe to enable/disable at any time.
2019-08-07 04:40:29 +00:00
Peter Leitzen 163a43629c Prefer `flat_map` over `map` + `flatten` in specs
Although `flat_map` is equivalent to `map` + `flatten(1)`
(note the level 1) we can apply this same refactoring to all cases.
2019-07-24 08:19:15 +00:00
Tiger 101c4480b3 Remove legacy Kubernetes #actual_namespace
When Kubernetes clusters were originally built they could only
exist at the project level, and so there was logic included
that assumed there would only ever be a single Kubernetes
namespace per cluster. We now support clusters at the group
and instance level, which allows multiple namespaces.

This change consolidates various project-specific fallbacks to
generate namespaces, and hands all responsibility to the
Clusters::KubernetesNamespace model. There is now no concept of
a single namespace for a Clusters::Platforms::Kubernetes; to
retrieve a namespace a project must now be supplied in all cases.

This simplifies upcoming work to use a separate Kubernetes
namespace per project environment (instead of a namespace
per project).
2019-05-21 11:38:11 -05:00
Peter Leitzen de69a808a0
Use correct k8s namespace in Prometheus queries
Before this commit the wrong namespace could have been used in
Prometheus queries for group-level installations.
2019-04-29 12:21:15 +02:00
Chris Baumbauer b77fe7db3e Add Knative metrics to Prometheus 2019-04-06 02:02:39 +00:00
syasonik ab1e1b55a8 Specify time window for additional metrics api
Adds support for start and end parameters in the #additional_metrics
endpoint of the EnvironmentsController. start and end are meant to be
unix timestamps, per the Prometheus API (as the consumer of this
endpoint will eventually be transitioned to a prometheus endpoint).
This functionality is behind the :metrics_time_window feature flag
for development.
2019-04-03 17:21:56 +08:00
Takuya Noguchi a565f3d88d Fix misspellings in app/spec executable lines
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-02-27 22:41:34 +09:00
rpereira2 2cd7b78391 Correct ordering of metrics
Correct the ordering of metrics on performance dashboard. Before common
metrics were moved into the DB, metric groups were ordered by the
priority defined in the common_metrics.yml file.
This commit adds a priority to each metric group in the PrometheusMetric
model.
It also combines title, priority and required_metrics into one frozen
GROUP_DETAILS hash so that the code is clearer.
This can be done since there is a fixed set of groups which are not
configurable.
2018-12-21 16:41:58 +05:30