chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

how can i drop measuremet via chronograf?

Open zengbiao opened this issue 9 years ago • 17 comments

I got "database not found" when "DROP MEASUREMENT "dbname.measurememtname;""

zengbiao avatar Sep 24 '17 14:09 zengbiao

any comments?

zengbiao avatar Sep 30 '17 08:09 zengbiao

Looks like this is a bug.

nhaugo avatar Sep 30 '17 20:09 nhaugo

Add support for DROP measurement, series, rp, and shard

nhaugo avatar Oct 03 '17 16:10 nhaugo

What do we want to do here the syntax does not match with other meta queries.

nhaugo avatar Oct 23 '17 21:10 nhaugo

still have this problem? I tested the recent build. Still the same problem

zhang8473 avatar Oct 24 '17 23:10 zhang8473

Related to https://github.com/influxdata/influxdb/issues/8927

bedrin avatar Nov 19 '17 20:11 bedrin

Is there any workaround available?

turboslon avatar Aug 16 '18 15:08 turboslon

@turboslon the reason this isn't supported in chronograf is because in order to drop a measurement, you first need a execute a use db command. the drop measurement query doesn't support the syntax DROP MEASUREMENT "db"."rp"."measurement" syntax from what i can tell based on my CLI and this issue: https://github.com/influxdata/influxdb/issues/8927

for now, there isn't much we can do on the chronograf side to support this in the UI.

russorat avatar Aug 16 '18 16:08 russorat

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 23 '19 01:07 stale[bot]

This issue has been automatically closed because it has not had recent activity. Feel free to reopen if this issue is still important to you. Thank you for your contributions.

stale[bot] avatar Jul 30 '19 01:07 stale[bot]

And its still impossible?

kwesolowski avatar May 24 '20 13:05 kwesolowski

@kwesolowski it's still not possible via chronograf.

russorat avatar May 26 '20 15:05 russorat

+1

bernardolm avatar Jun 01 '20 14:06 bernardolm

+1

oh-jose-vazquez avatar Oct 20 '20 17:10 oh-jose-vazquez

Hi everyone do you think this should be reopen?

jslmariano avatar Feb 03 '21 13:02 jslmariano

This PR https://github.com/influxdata/chronograf/pull/5652 adds this ability and will be included in the next release of Chronograf. Thank you!

russorat avatar Feb 03 '21 17:02 russorat

This PR #5652 adds this ability and will be included in the next release of Chronograf. Thank you!

This is a good news, required :)

PaulCorbeau avatar Apr 30 '21 13:04 PaulCorbeau