Skip to main content

Datadog connectors for Bytewax

Project description

PyPI

Bytewax Datadog

Datadog conectors for Bytewax.

This connector offers 1 source and 1 sink.

  • LogSink - writes Datadog logs.
  • LogSource - reads Datadog logs.

Installation

This package is available via PyPi as bytewax-datadog and can be installed via your package manager of choice.

Usage

Logs Source

from bytewax_datadog import LogSource
from bytewax.connectors.stdio import StdOutSink

import bytewax.operators as op
from bytewax.dataflow import Dataflow

flow = Dataflow("datadog_example")
flow_input = op.input("input", flow, LogSource.from_environment("example query"))
op.output("output", flow_input, StdOutSink())

Logs Sink

from bytewax_datadog import LogSink, CreateLogEntry
from bytewax.testing import TestingSource

import bytewax.operators as op
from bytewax.dataflow import Dataflow

flow = Dataflow("datadog_example")
flow_input = op.input("input", flow, TestingSource([
    CreateLogEntry(
        hostname="localhost",
        service="example-service",
        message="Hello World!",
    )
]))
op.output("output", flow_input, LogSink.from_environment("bytewax-datadog"))

License

Licensed under the MIT License

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

bytewax_datadog-0.1.1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

bytewax_datadog-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file bytewax_datadog-0.1.1.tar.gz.

File metadata

  • Download URL: bytewax_datadog-0.1.1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.12

File hashes

Hashes for bytewax_datadog-0.1.1.tar.gz
Algorithm Hash digest
SHA256 14cd7622c8e4471f867bff775ac6593ec50efe6fb1f20b8f2dc5dd4d883ade90
MD5 1b58c7f0c9d7fbdcc57b6138da454fe7
BLAKE2b-256 ea1822af2ff4c3945da9a1d753ec1ff47e76561b34756b4a08753e707f02bc07

See more details on using hashes here.

File details

Details for the file bytewax_datadog-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bytewax_datadog-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b00217fb8a98d930c3d998e704454c74895dd3f679dc226dd7d1f2ea568ddd7
MD5 fb9876914432bf0a5ebf959cb692302b
BLAKE2b-256 ccde65f1c22c40851ea3c40bda0b647cd1b07067555107fb0de303da7e67d5a9

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