Skip to content

Avalanche doesn't send remote-write requests when --metric-interval alone is set #72

Open
@harry671003

Description

@harry671003

Issue

  • Thanos uses avalanche in e2e tests. About two weeks ago, one of the e2e tests which uses avalanche started failing.
  • The test was configuring --metric-interval=30s and --remote-write-interval=30s and expecting requests to be made every 30s from avalanche.
  • However, in write.go#L143 no timeseries is returned and avalanche doesn't make write requests.

Avalanche configuration

Avalanche configuration that wasn't working

--metric-count=10 \
--series-count=1 \
--metric-interval=30 \
--series-interval=3600 \
--value-interval=3600 \
--remote-write-interval=30s \
--remote-batch-size=10 \
--remote-requests-count=5

Avalanche configuration that worked

--metric-count=10 \
--series-count=1 \
--metric-interval=3600 \
--series-interval=30 \
--value-interval=30 \
--remote-write-interval=30s \
--remote-batch-size=10 \
--remote-requests-count=5

Related

thanos-io/thanos#7620

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