Skip to main content

Introduction

Python library providing an interface for F5's TEEM infrastructure to provide usage analytics to F5.

Usage (Anonymous API)

from f5teem import AnonymousDeviceClient

client_info = {
    'name': 'f5-example-product',
    'version': '1.0.0',
    'id': '<asset UUID>'
}
telemetry_client = AnonymousDeviceClient(client_info, api_key='<API KEY>')
telemetry_client.report(
    {
        'foo': 'bar'
    },
    telemetry_type='Installation Usage',
    telemetry_type_version='1'
)

By default, this library will include in the report telemetry client properties including:

  • The type of Operating System where telemetry is sent from (for example, 'Linux')

Example Telemetry Record

{
    "digitalAssetName": "f5-example-product",
    "digitalAssetVersion": "1.0.0",
    "digitalAssetId": "<asset UUID>",
    "documentType": "Installation Usage",
    "documentVersion": "1",
    "observationStartTime": "",
    "observationEndTime": "",
    "epochTime": "",
    "telemetryId": "",
    "telemetryRecords": [
        {
            "foo": "bar",
            "telemetryClientProperties": {
                "os": "linux"
            }
        }
    ]
}

Use TEEM staging environment

  • Set environment variable
    export TEEM_API_ENVIRONMENT='staging'
    

Additional Notes

Future Improvements

  • f5-teem-python should support Reg Key API when running on BIG-IP (similar to node based f5-teem library)
  • f5-teem-python should honor the phone home setting when running on BIG-IP. tmsh modify sys software update auto-phonehome disabled

Download files

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

Source Distribution

f5-teem-1.0.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

f5_teem-1.0.2-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file f5-teem-1.0.2.tar.gz.

File metadata

  • Download URL: f5-teem-1.0.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for f5-teem-1.0.2.tar.gz
Algorithm Hash digest
SHA256 b8c4376ec7318440aa0fd1212873db1cf7a39e8c60286cb00c33ad4de0b656e7
MD5 1a9d5042dd0af1f1f18f9adc36ffd393
BLAKE2b-256 c2c1e880d66b73fc2122564a6fc9faff377f987d2650fae0942a4501956f0300

See more details on using hashes here.

File details

Details for the file f5_teem-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: f5_teem-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for f5_teem-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 001d2f5a1745f99fe3503cf58690063f7520efc0fff159d9540cc43e9895a870
MD5 32e702eb90fd4c3092d3bb272171423a
BLAKE2b-256 d9f31cf871198012c1f9f9bbe5ec9116b59ee3152b8dec9c832e83da617147e9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 files

1.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page