Skip to content
Snippets Groups Projects

WIP: Add finder for prometheus metrics

Closed Sarah Yasonik requested to merge add-metrics-finder into master
2 unresolved threads

What does this MR do?

Adds a finder for the standard PrometheusMetrics model. This was a follow-up item from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31063#note_200076126.

Updates references to prometheus metrics to use the finder. Note that the PrometheusMetric model used for importing common metrics into the db is different and not related to this work.

Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/65753

EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/16235

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Sarah Yasonik

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
    • Hey! :wave:

      GitLab is moving all development for both GitLab Community Edition and Enterprise Edition into a single codebase. The current gitlab-ce repository will become a read-only mirror, without any proprietary code. All development is moved to the current gitlab-ee repository, which we will rename to just gitlab in the coming weeks.

      As part of this migration, issues will be moved to the current gitlab-ee project. Merge requests can not be moved, and will be closed and locked instead.

      On September 22, 2019 we will start closing all remaining CE merge requests. We have also disabled merging of merge requests in CE.

      Here is what you should do to make sure your changes are merged before then:

      1. Continue the development process as usual.
      2. When the merge request has been reviewed, create a new merge request with these changes at https://gitlab.com/gitlab-org/gitlab-ee/merge_requests.
      3. In this new merge request, mention the old merge request.
      4. Close the old merge request, and in a comment mention the new merge request.
      5. Assign the merge request to the person who last reviewed it, or @ mention them if you are not able to assign the merge request to them.

      When creating your EE merge request, you can follow these steps to port over your changes:

      1. Add your local copy of GitLab CE as a Git remote to your copy of GitLab EE. This is done using git remote add local-ce path/to/ce/.git.
      2. Run git fetch local-ce BRANCH, where BRANCH is the branch containing your CE changes.
      3. For every commit in your CE MR, run git cherry-pick COMMIT, with COMMIT being the commit SHA. Squashing your CE commits before may make this process easier.
      4. Push these commits to a branch of fork like you normally would when submitting your changes.
      5. Submit these changes as a merge request at https://gitlab.com/gitlab-org/gitlab-ee/merge_requests.

      More information about this can be found here: https://docs.gitlab.com/ee/development/automatic_ce_ee_merge.html#cherry-picking-from-ce-to-ee

      If you have any questions about all of this, please ask them in our dedicated FAQ issue: https://gitlab.com/gitlab-org/gitlab-ee/issues/13855

      You can also find more information here:

  • closed

  • Please register or sign in to reply
    Loading