Skip to content

Improve CounterService operations  #8800

Closed
@jtuberville

Description

@jtuberville

While reviewing some projects new to me today, I saw several cases of CounterService being in a for loop in order to have counters on batch processes. I was wondering if it had been discussed to allow increment and decrement in values other than one?

void increment(String metricName, long value);
void decrement(String metricName, long value);

Since internally Delta already has this concept it does not seem challenging to extend the service interface itself. Any thoughts @dsyer or others?

Joshua

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