Verified Commit a02db4d9 authored by service-platforms-labkit's avatar service-platforms-labkit Committed by GitLab
Browse files

feat: update field constants from labkit-spec v1.0

parent 579308a1
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,