Verified Commit 8bb7514b authored by Matias Alvarez's avatar Matias Alvarez Committed by GitLab
Browse files

Merge branch 'labkit-spec/update-fields' into 'master'

feat: update field constants (labkit-spec v1.0)

See merge request !307

Merged-by: default avatarMatias Alvarez <malvarez@gitlab.com>
Approved-by: default avatarMatias Alvarez <malvarez@gitlab.com>
Co-authored-by: default avatarservice-platforms-labkit <service-platforms-labkit@gitlab.com>
parents 579308a1 a02db4d9
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -21,6 +21,10 @@ module Labkit
    # filtering in Kibana and Grafana.
    DUO_WORKFLOW_DEFINITION = "duo_workflow_definition"

    # Unique identifier for a Duo Workflow instance. Identifies a specific
    # workflow run, enabling per-workflow tracing in logs.
    DUO_WORKFLOW_ID = "duo_workflow_id"

    # Error type or classification (e.g. "NoMethodError", "ValidationError").
    ERROR_TYPE = "error_type"

@@ -125,6 +129,7 @@ module Labkit
      GL_USER_ID => 1,
      GL_USER_NAME => 1,
      DUO_WORKFLOW_DEFINITION => 0,
      DUO_WORKFLOW_ID => 0,
      ERROR_TYPE => 0,
      ERROR_MESSAGE => 1,
      HTTP_STATUS_CODE => 1,