daq-tools / influxio

Import and export data into/from InfluxDB.
https://influxio.readthedocs.io/
MIT License
0 stars 0 forks source link

Implement exporting line protocol data from InfluxDB API #100

Closed amotl closed 3 months ago

amotl commented 3 months ago

About

Export line protocol data from InfluxDB API, using influx-line by @functionoffunction. Thank you so much!

Synopsis

# From API to line protocol file.
influxio copy \
    "http://example:token@localhost:8086/testdrive/demo" \
    "file://export.lp"

# From API to line protocol on stdout.
influxio copy \
    "http://example:token@localhost:8086/testdrive/demo" \
    "file://-?format=lp"
codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 94.31818% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 83.33%. Comparing base (ca24cea) to head (112aa16).

Files Patch % Lines
influxio/model.py 92.53% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #100 +/- ## ========================================== + Coverage 81.43% 83.33% +1.89% ========================================== Files 11 11 Lines 474 558 +84 ========================================== + Hits 386 465 +79 - Misses 88 93 +5 ``` | [Flag](https://app.codecov.io/gh/daq-tools/influxio/pull/100/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/daq-tools/influxio/pull/100/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools) | `83.33% <94.31%> (+1.89%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=daq-tools#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.