Skip to content

Remove client-specific branding from CloudWatch logger namespace #84

@endymion

Description

@endymion

Location

  • File: plexus/utils/scoring.py
  • Line: 26
  • Current Code:
cloudwatch_logger = CloudWatchLogger(namespace="CallCriteria/API")

Problem

The CloudWatch logger is initialized with a client-specific namespace "CallCriteria/API". This references the old client name and should be generalized for multi-tenant use.

Solution Options

  1. Environment Variable: Create PLEXUS_CLOUDWATCH_NAMESPACE environment variable (e.g., "Plexus/API")
  2. Configuration: Add to Plexus configuration system via plexus.cloudwatch.namespace config property
  3. Hardcode Generic: Use a generic namespace like "Plexus/API" or "Plexus/Scoring"

Next Steps

  1. Decide which approach fits Plexus architecture best
  2. Implement the chosen solution
  3. Update plexus/utils/scoring.py to use the new approach
  4. Test CloudWatch logs are properly namespaced

Context

This is part of the broader effort to remove all client-specific "Call Criteria" branding from codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions