Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gitaly
gitaly
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 651
    • Issues 651
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 42
    • Merge Requests 42
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • gitalygitaly
  • Merge requests
  • !2678

Merged
Created Oct 20, 2020 by Jacob Vosmaer@jacobvosmaer-gitlabOwner

Add JSON request logging for gitaly-ruby

  • Overview 12
  • Commits 8
  • Pipelines 8
  • Changes 7

Part of gitlab-com/gl-infra/scalability#519 (closed)

This MR upgrade labkit-ruby to 0.13, which includes a new gRPC server middleware that writes an access log. The access log goes into a separate file gitaly_ruby_json.log in the Gitaly logging dir.

Example log line:

{"type":"gitaly-ruby","grpc.time_ms":0.221,"grpc.code":"OK","grpc.method":"Check","grpc.service":"grpc.health.v1.Health","pid":34993,"correlation_id":"f08f390f35a7a7e6c2dffa59c27b0878","time":"2020-10-20T13:42:11.385Z"}
Edited Oct 20, 2020 by Jacob Vosmaer
Assignee
Assign to
Reviewer
Request review from
13.6
Milestone
13.6 (Past due)
Assign milestone
Time tracking
Source branch: jv-ruby-log-3