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
- This library is similar to the node-based f5-teem library (https://www.npmjs.com/package/@f5devcentral/f5-teem).
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
Metadata
Release files for f5-teem 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| f5-teem-1.0.2.tar.gz | 4.9 kB | Without provenance | Details for f5-teem-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| f5_teem-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for f5_teem-1.0.2-py3-none-any.whl |
Total release size: 15.0 kB
Release files / f5-teem-1.0.2.tar.gz
| Download URL | f5-teem-1.0.2.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8c4376ec7318440aa0fd1212873db1cf7a39e8c60286cb00c33ad4de0b656e7
|
|
BLAKE2b-256 checksum How to use checksums |
c2c1e880d66b73fc2122564a6fc9faff377f987d2650fae0942a4501956f0300
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / f5_teem-1.0.2-py3-none-any.whl
| Download URL | f5_teem-1.0.2-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
001d2f5a1745f99fe3503cf58690063f7520efc0fff159d9540cc43e9895a870
|
|
BLAKE2b-256 checksum How to use checksums |
d9f31cf871198012c1f9f9bbe5ec9116b59ee3152b8dec9c832e83da617147e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for f5-teem 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.