Skip to main content

Fustor agent pusher driver for the Fustor Fusion service.

Project description

fustor-pusher-fusion

This package provides a PusherDriver implementation for the Fustor Agent service, enabling it to push data to the Fustor Fusion service. It leverages the fustor-fusion-sdk to interact with the Fusion API, handling session management, event pushing, and heartbeats.

Features

  • Fusion Integration: Seamlessly pushes events from Fustor Agent to Fustor Fusion.
  • Session Management: Manages the session lifecycle with the Fusion service, including session creation and periodic heartbeats.
  • Event Pushing: Batches and sends event data to the Fusion service's ingestion endpoint.
  • Leverages fustor-fusion-sdk: Utilizes the official SDK for robust and consistent communication with Fusion.

Installation

This package is part of the Fustor monorepo and is typically installed in editable mode within the monorepo's development environment using uv sync. It is registered as a fustor_agent.drivers.pushers entry point.

Usage

To use the fustor-pusher-fusion driver, configure a Pusher in your Fustor Agent setup with the driver type fusion. You will need to provide the Fusion service endpoint and an API key for authentication.

Example (conceptual configuration in Fustor Agent):

# Fustor 主目录下的 agent-config.yaml
pushers:
  my-fusion-pusher:
    driver_type: fusion
    endpoint: http://localhost:8102/ingestor-api/v1/
    credential:
      type: api_key
      key: YOUR_FUSION_API_KEY

Dependencies

  • fustor-core: Provides the PusherDriver abstract base class and other core components.
  • fustor-fusion-sdk: The SDK for interacting with the Fustor Fusion service.
  • fustor-event-model: Provides EventBase for event data structures.

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

fustor_pusher_fusion-0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

fustor_pusher_fusion-0.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file fustor_pusher_fusion-0.2.tar.gz.

File metadata

  • Download URL: fustor_pusher_fusion-0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for fustor_pusher_fusion-0.2.tar.gz
Algorithm Hash digest
SHA256 d76cabea50bc43d8cdaa765f617a1fb7a5845748dc59f6bb8bb3a4c326e4a9c5
MD5 3c269f5e2ef3b610c7a05d36470b30b5
BLAKE2b-256 9d67c8de6f02bcea019655f87bde84f023e2edc80112c7f4a9ad49d30a4dc03c

See more details on using hashes here.

File details

Details for the file fustor_pusher_fusion-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fustor_pusher_fusion-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e949485da30881d06243fab74ea9b8e76de965191ac3541b1869b1c18a9d46f
MD5 112b6639c47fb88e954e772be1e9116b
BLAKE2b-256 976864c93414b16dbf1ae15bf07ecba676b3301675da9a36daf1102c9edce046

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