Skip to content

Disallow duplicate dimension sets #83

Closed
@markkuhn

Description

@markkuhn

Related issues:

Currently duplicate dimension sets are being allowed.
Example:

metrics.put_dimensions({"Region": "us-east-1"})
metrics.put_dimensions({"Region": "us-east-2"})

This creates:

"Dimensions": [
  [
    "LogGroup",
    "ServiceName",
    "ServiceType",
    "Region"
  ],
  [
    "LogGroup",
    "ServiceName",
    "ServiceType",
    "Region"
  ]
]

When it should be:

"Dimensions": [
  [
    "LogGroup",
    "ServiceName",
    "ServiceType",
    "Region"
  ]
]

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions