Skip to content

Instantly share code, notes, and snippets.

@edo248
Created May 23, 2021 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edo248/9e777bf9b9a6cc7d7275062d59e11c06 to your computer and use it in GitHub Desktop.
Save edo248/9e777bf9b9a6cc7d7275062d59e11c06 to your computer and use it in GitHub Desktop.
NANO_TIMESTAMP=$(date +%s%N)
curl -XPOST "http://localhost:8086/write?db=metrics" --data-binary "mymeas,mytag=1 myfield=90 $NANO_TIMESTAMP";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment