Connected Devices/Projects/Metrics/Integration: Difference between revisions

Added information about Node.js module
m (s/Periscope/Re:Dash)
(Added information about Node.js module)
Line 17: Line 17:
As a project wanting to send metrics you have the following choices:
As a project wanting to send metrics you have the following choices:
* Rust Library integration (for Rust, c/cpp, Java projects)
* Rust Library integration (for Rust, c/cpp, Java projects)
* Javascript wrapper
* Node.js module
* Formulate a POST request with your own tools.
* Formulate a POST request with your own tools.


Line 26: Line 26:
*[https://github.com/tamarahills/metrics_controller/blob/master/examples/main.rs Rust]
*[https://github.com/tamarahills/metrics_controller/blob/master/examples/main.rs Rust]


=== Javascript Wrapper ===
=== Node.js module ===
A [https://github.com/tamarahills/metrics_controller/tree/master/js Javascript wrapper] to make it easier for projects that can more easily leverage Javascript.
This Node.js [https://www.npmjs.com/package/cd-metrics module] is a Javascript wrapper around the Google Analytics Measurement Protocol.


=== Formulating a POST request with your own tools ===
=== Formulating a POST request with your own tools ===
12

edits