Skip to main content

a package for sending app telemetry data to the TelemetrX backend.

Project description

telemetrx-0.1.5

telemetrx is a Python library which facilitates the sending of App telemetry data to the TelemetrX platform, leveraging the TelemetrX API.

Features

The library features the function send_telemetrx() which helps app owners to send telemetry data to the TelemetrX platform with a single line of code.

Installation

Install telemetrx with pip:

pip install telemetrx

Quick Start

Before you start, there are few environment variables that will need to be set:

  • BASE_URL_ENV = Telemetrx API URL for ENV

    Where ENV is either DEV, PROD or STAGE depending on which environment your app is sending data to. If you are unsure what value to set in this environment variable, please contact visimard@cisco.com or vivekksi@cisco.com or anpapath@cisco.com.

  • TELEMETRX_API_KEY = <Your app's API key for TelemetrX>

    This is the app token you have received when registering your app with TelemetrX. If you do not know your app key or have lost/forgotten it, please contact visimard@cisco.com or vivekksi@cisco.com or anpapath@cisco.com

After you make sure that the environment variables above are set, here is an example of how to use the telemetrx library:

from telemetrx import send_telemetrx

telemetry_data = {"attribute1": "value",
                  "attribute2": "value"}

send_telemetrx(telemetry_data=telemetry_data, 
               user="anpapath",
               app_name= "My app",
               telemetrx_env= "prod",
               technology_stripe= "Enterprise"
               )

Requirements

  • Python 3.10+

License

Distributed under a propriatery license. See LICENSE file for more information.

Authors

  • Vivek Singh - vivekksi
  • Vincent Simard - visimard
  • Angeliki Papathanasiou - anpapath

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telemetrx-0.1.5.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telemetrx-0.1.5-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file telemetrx-0.1.5.tar.gz.

File metadata

  • Download URL: telemetrx-0.1.5.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for telemetrx-0.1.5.tar.gz
Algorithm Hash digest
SHA256 d3de294347384e70cb165a6201cf4693d9a6bc0e86ba4987460957a1bd6a6aea
MD5 a60bf9c47763c8ea37a5d670ddc674c6
BLAKE2b-256 9f8d5cb5480b2c2a74e0d3c8021720e051f8438af9cc4ed3683b8b1a9c7dcf8a

See more details on using hashes here.

File details

Details for the file telemetrx-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: telemetrx-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for telemetrx-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9ba2f281225a409ee1e32e8db054e109e2e458978d50705f14f9e5c2e7cbda65
MD5 4e7429c034125ff0fbc836673459643b
BLAKE2b-256 3c398f032d277e2ba3e5c0ec2a90b6ffa01af8583d2f484ebf8340f96af27f58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page