An open API service indexing awesome lists of open source software.

https://github.com/edgee-cloud/piano-analytics-component

Piano Analytics Edgee Component
https://github.com/edgee-cloud/piano-analytics-component

edge-computing edgee piano-analytics rust wasm wasm-component

Last synced: 6 months ago
JSON representation

Piano Analytics Edgee Component

Awesome Lists containing this project

README

        





Edgee

Edgee



**The full-stack edge platform for your edge oriented applications.**

[![Edgee](https://img.shields.io/badge/edgee-open%20source-blueviolet.svg)](https://www.edgee.cloud)
[![Edgee](https://img.shields.io/badge/slack-edgee-blueviolet.svg?logo=slack)](https://www.edgee.cloud/slack)
[![Docs](https://img.shields.io/badge/docs-published-blue)](https://docs.edgee.cloud)

This component implements the data collection protocol between [Piano Analytics](https://developers.atinternet-solutions.com/piano-analytics/data-collection/how-to-send-events/collection-api) and [Edgee](https://www.edgee.cloud).

### Protocol coverage

| Page | Track | User |
|------|-------|------|
| ✅ | ✅ | ✅ |

## Usage

- Download the latest version in our [releases page](../../releases).
- Place the wasm file in a known place in your server (e.g. `/var/edgee/components`).
- Update your edgee proxy config:
```toml
[[destinations.data_collection]]
name = "piano"
component = "/var/edgee/components/piano.wasm"
credentials.piano_site_id = "..."
credentials.piano_collection_domain = "..."
```

## Contributing
If you're interested in contributing to Edgee, read our [contribution guidelines](./CONTRIBUTING.md)

## Reporting Security Vulnerabilities
If you've found a vulnerability or potential vulnerability in our code, please let us know at
[edgee-security](mailto:[email protected]).

## Building from source

To build the wasm file from source, you need to have installed
- [Rust](https://www.rust-lang.org/tools/install)
- `wasm32-wasip1` target: run `rustup target add wasm32-wasip1`
- `wasm-tools`: run `cargo install --locked wasm-tools`

Then you can run the following commands:

```bash
make install
make build
```