Datadog connectors for Bytewax
Project description
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
Release history Release notifications | RSS feed
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.0.tar.gz
(12.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bytewax_datadog-0.1.0.tar.gz.
File metadata
- Download URL: bytewax_datadog-0.1.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a54ccb0c012b018858ff99aaffc4d7bfba3b8c3bdcaa20880e816175bf7e9bb
|
|
| MD5 |
9d93673274dd439cff280576b0b389e1
|
|
| BLAKE2b-256 |
31844c69994a12e60a244aa97711b4a7ef12d99a0c2b4ca4cad52e44d2a04104
|
File details
Details for the file bytewax_datadog-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bytewax_datadog-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95d96e4e5df5fc94985ecb5ccc4a702ecc6a4b5b7661f280deb5912072ef958d
|
|
| MD5 |
09e6e439c67d64b8e79e45a07ce5d373
|
|
| BLAKE2b-256 |
4f0f711e50156e6bc04632c0f03dec8088bc71240b29584b8c57c4a8fa634fed
|