skyline.vista package

Submodules

skyline.vista.agent module

class Vista[source]

Bases: object

Initializes Vista

run()[source]
run()[source]

Start the Vista.

Start the logger.

skyline.vista.fetcher module

class Fetcher(parent_pid)[source]

Bases: Thread

The fetcher thread asynchronisly retrieves the latest data points for metrics from multiple endpoints using asyncio and aiohttp and submits the data to the Redis set, vista.fetcher.metrics.json for the worker to process.

check_if_parent_is_alive()[source]

Self explanatory.

fetch_process(i, metrics_to_fetch)[source]
run()[source]
  • Called when the process intializes.

  • Determine if Redis is up and discover the number of unique metrics.

  • Wait for the processes to finish.

  • Send skyline.vista metrics to GRAPHITE_HOST

skyline.vista.worker module

class Worker(parent_pid)[source]

Bases: Process

The worker process retrieves time series published to the Vista Fetcher Redis set, vista.fetcher.metrics.json (and in future the vista.fetcher.metrics.csv Redis set) and validates the latest data points for each metric and submits it to Skyline Flux or directly to Graphite.

check_if_parent_is_alive()[source]

Self explanatory.

run()[source]

Called when the process intializes.

Module contents