Skip to main content

Salt Analytics Framework

Project description

It’s a framework which extends Salt through the use of an engine that can collect, process and forward analytics/metrics data.

Install

Installing Salt Analytics Framework is as simple as:

python -m pip install salt-analytics-framework

Configuration

The minimal configuration to start salt analytics with Salt is to add it to Salt’s engines configuration:

engines:
  - analytics

Example Pipeline

beacons:
  memusage:
    - interval: 5
    - percent: 0.01%
  status:
    - interval: 5
    - time:
      - all
    - loadavg:
      - all

analytics:
  collectors:
    beacons-collector:
      plugin: beacons
      beacons:
        - "*"

  processors:
    noop-processor:
      plugin: noop

  forwarders:
    disk-forwarder:
      plugin: disk
      path: /var/cache/salt
      filename: events-dumped.txt
      pretty_print: true

  pipelines:
    my-pipeline:
      collect: beacons-collector
      process: noop-processor
      forward: disk-forwarder

Usage

TBD

Contributing

The salt-analytics-framework project team welcomes contributions from the community. For more detailed information, refer to CONTRIBUTING.

Documentation

The full documentation can be seen here.

Examples

Some examples of custom pipelines are provided. You can find them at examples.

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

salt-analytics-framework-0.5.0.tar.gz (58.0 kB view details)

Uploaded Source

Built Distribution

salt_analytics_framework-0.5.0-py2.py3-none-any.whl (31.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file salt-analytics-framework-0.5.0.tar.gz.

File metadata

File hashes

Hashes for salt-analytics-framework-0.5.0.tar.gz
Algorithm Hash digest
SHA256 b9553ec4b073d1e9502ae28d40547a13336e82b2cd7dda9ef9f9ffa2f71007ec
MD5 6f75e435b07dae3728030d406119fd82
BLAKE2b-256 2407f4351af86a8fd3c4193522f10ede08974ae07a81a4222d1550274c223076

See more details on using hashes here.

File details

Details for the file salt_analytics_framework-0.5.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for salt_analytics_framework-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3615f72c831f625ccdd133187537f413b77d707efd4128b971c7f5b92bb128ec
MD5 d3d32e9b5a0b6f4caaba5e18f12cb5c5
BLAKE2b-256 64e9accf58164191e93d0a5807b6c452346af0dfa5ea6057ae062b3129782392

See more details on using hashes here.

Supported by

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