Giter VIP home page Giter VIP logo

awesome's People

Contributors

anaisdg avatar ffisc avatar jayclifford345 avatar kelseiv avatar mhall119 avatar nathanielc avatar peterreg avatar philjb avatar prullanferragut avatar rickspencer3 avatar tkyocum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

awesome's Issues

slightly garbled Time-to-Awesome "Input Format vs Output Format" intro

Folks,
The very first paragraph on: https://awesome.influxdata.com/docs/part-2/input-format-vs-output-format/ is partially garbled. See sentence 5 within:

The InfluxDB input format is line protocol. The InfluxDB output format is Annotated CSV. The input format is different from the InfluxDB persistence. The Annotated CSV output can match the InfluxDB persistence format with simple Flux queries. However, can add Flux transformations to your query such that the Annotated CSV output doesn’t reflect the InfluxDB persistence format. Understanding these subtle differences is critical for good schema design and for using InfluxDB optimally.

In essence the final sentence tells me to worry about a concept remaining unexplained in the preceding sentences :-|

Also as a new InfluxDB cloud user I do not currently understand "InfluxDB persistence format". Is this still important for InfluxDB cloud users? Else rewriting of this section to help readers pay extra attention to critical subtleties is appreciated :-)

provide detailed content on stateDuration

stateDuration() is an important function. There is limited content related to it. I suggest we add a section that provides more details on how to leverage this function.

Fix Aggregations Section

Include sum and unique sections.
Explain the difference between bare aggregators and selectors.

Override site name

The site name is still being shown as book.github.io in places, we should change those to say "Time to Awesome" instead

Fix Readme and Home page

Finish Readme and Home page
Include information on:

  • how to run locally and contribute
  • uses just-the-docs themes
  • licensing
  • links to community

Add more content on how windowing works

  1. What is the boundary for 'every'? i.e. it is not based on execution time, but windowing occurs based on the minute/hour hands of the clock.
  2. What do _start, _stop, and _time mean? Can I change what _time means?
  3. What happens if the last window is not complete. For example, I window by minute, but the last minute does not yet have data? i.e. _time is the _timestamp for the last bit of data?

Rename repo

Hey @mhall119 is there any desire to rename this repo from book.github.io to something like awesome or similar?

How to handle sporadically failing downsampling tasks

Sometimes, downsampling tasks can fail. There are different ways to recover from this:

  • use the CLI: influx task retry-failed
  • query failed tasks in the system _tasks bucket and use the /tasks/.../retry endpoint to retry
  • use a from() range 2-3 times as long as the aggregateWindow() so if a task run fails, it will recover the downsampled period the following task run

add content on conditionally returning values from map()

depending on your situation, you can use if, then, else, or dictionaries for this. here is an example with dictionaries:
import "array"
import "dict"

d = ["field1": 10.0, "field2":20.0]

array.from(rows: [{_time: 2020-01-01T00:00:00Z, _field: "field1", _value: 1.0},
{_time: 2020-01-02T00:00:00Z, _field: "field2",_value: 1.0}])
|> map(fn: (r) => ({r with _value: r._value * dict.get(dict: d, key: r._field, default: 0.0)}))

here is the same thing but using conditional logic:
import "array"

array.from(rows: [{_time: 2020-01-01T00:00:00Z, _field: "field1", _value: 1.0},
{_time: 2020-01-02T00:00:00Z, _field: "field2",_value: 1.0}])
|> map(fn: (r) => ({r with _value: if r._field == "field1"
then r._value* 10.0
else
if r._field == "field2"
then r._value * 20.0
else 0.0}))

Add content on Secrets

Add a new section explaining InfluxDB's build-in secret management, how to use them from the CLI and Flux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.