Skip to content

Instantly share code, notes, and snippets.

@tailhook
Last active February 11, 2016 00:28
Show Gist options
  • Select an option

  • Save tailhook/97b4369f286731b44578 to your computer and use it in GitHub Desktop.

Select an option

Save tailhook/97b4369f286731b44578 to your computer and use it in GitHub Desktop.
id = carbon_connect_ipv4((127 << 24) | (0 << 16) | (0 << 8) | (1 << 0), 2003)
# then somewhere else
carbon_add_i64(id, "metric.name1", len("metric.name1"), 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment