Skip to content

Cleaner per-service and routing config #747

@gouthamve-but-enterprise

Description

Right now there are two places where the route matching config exists:

One is on a per-service level:

discovery:
  services:
    - namespace: multi-k
      name: java-serv
      open_ports: 8085
      routes:
        incoming:
          - /greeting123/{something}
        outgoing:
          - /*

And another is on a global level:

routes:
  patterns:
    - /basic/:rnd
  unmatched: path
  ignored_patterns:
    - /metrics
  ignore_mode: traces

We need to reconcile the two. For example, I think ignore_patterns and unmatched are useful in the per-service level as well. And that incoming / outgoing differentiation is useful on a global level as well.

Also the two being in completely different places is weird as well.

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