influxdata / influxdata/influxdb-client-go

Delete timeseries.

Open
#374 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
653
Forks
120
Avg merge
3m
Merged PRs (30d)
3

Description

Hello,

can someone tell me how to clear a bucket from its data without deleting the bucket?
I tried to use the following command, but it needs the start/end time to work. Is there another way?

err := deleteAPI.DeleteWithName(ctx, "org", "my-bucket", time.Now().Add(-time.Hour), time.Now(), "b=static")

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the DeleteWithName call shown in the issue and the client API it invokes. Determine whether clearing all data from a bucket without deleting the bucket is supported, and define the expected API behavior and completion criteria before proposing a change.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.