Skip to main content

RukkiePulse agent SDK — auto-instrument Python services and push telemetry to Jaeger

Project description

rukkie-agent (Python)

Auto-instrument Python backend services for RukkiePulse.

Install

pip install rukkie-agent

Usage

# FastAPI
from fastapi import FastAPI
from rukkie_agent import init_rukkie

app = FastAPI()

init_rukkie(
    service_name="auth-service",
    api_key="rk_live_xxx",
    app=app,
    dependencies={
        "db": check_db_connection,
        "redis": check_redis_connection,
    }
)

# Flask
from flask import Flask
from rukkie_agent import init_rukkie

app = Flask(__name__)
init_rukkie(service_name="auth-service", api_key="rk_live_xxx", app=app)

Exposes GET /__rukkie/health and pushes traces to your Jaeger collector.

Docs

rukkiepulse.netlify.app

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

rukkie_agent-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

rukkie_agent-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file rukkie_agent-0.1.0.tar.gz.

File metadata

  • Download URL: rukkie_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for rukkie_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4f5e6f740e0b3be40de78a8e425643efe7edab9f9c93a3c1d7a97d9e9b033ca5
MD5 f4de057bbfe4eaa7cc880720349531ec
BLAKE2b-256 c0f1ddf54a613b27596157d08391b9230c2588f95ad9dad6b1735f7bfb05af2d

See more details on using hashes here.

File details

Details for the file rukkie_agent-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: rukkie_agent-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for rukkie_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98596a7c1d9d3e26231942c74e6a39f434c886ec9c69a5f25fa23a35e48140d3
MD5 679d9b7e494965952da2c04e1f8fa745
BLAKE2b-256 11dcbb72f16cf5894ec69e3ec2eaca3bc51b1a4645870fe06c42564338632a94

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