Skip to main content

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

Project description

telemetrx-0.1.3

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.3.tar.gz (4.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: telemetrx-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 12f91d40da74070d16238b31e6b81b56d15a3417e76c1abf97e91e1eeb2fe5db
MD5 1bc69b3947b8dd0b20653ad58ccf6926
BLAKE2b-256 c47526a3b4c36383e5b2124f79960fbf0cb94fc7a5d106fe0e9a5c191714fae7

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