Sign inSign up

weevenetwork/spy

By weevenetwork

Updated over 3 years ago

Image
0

597

weevenetwork/spy repository overview

Spy

NameSpy
Versionv1.0.0
GitHubweeve-modules/spy
AuthorsJakub Grzelak

Description

Debugging module displaying all data passing through it in the logs. This module shows only 3 logs:

  • all data passing through it (with info severity level)
  • confirmation that data was output to the next module Data send.
  • any errors occurred during processing

Environment Variables

Module Specific

This module does not have any module specific configuration.

Set by the weeve Agent on the edge-node

Other features required for establishing the inter-container communication between modules in a data service are set by weeve agent.

Environment VariablestypeDescription
MODULE_NAMEstringName of the module
MODULE_TYPEstringType of the module (Input, Processing, Output)
EGRESS_URLSstringHTTP ReST endpoints for the next module
INGRESS_HOSTstringHost to which data will be received
INGRESS_PORTstringPort to which data will be received

Dependencies

bottle
requests

Input

Input to this module is:

  • JSON body single object, example:
{
    "label-1": 12,
    "label-2": "speed"
}
  • array of JSON body objects, example:
[
    {
        "label-1": 12,
        "label-2": "speed"
    },
    {
        "label-1": 15,
        "label-2": "volume"
    }
]

Output

Output of this module is exactly the same as the input:

  • JSON body single object, example:
{
    "label-1": 12,
    "label-2": "speed"
}
  • array of JSON body objects, example:
[
    {
        "label-1": 12,
        "label-2": "speed"
    },
    {
        "label-1": 15,
        "label-2": "volume"
    }
]

Tag summary

Content type

Image

Digest

sha256:840a83326

Size

48.4 MB

Last updated

over 3 years ago

docker pull weevenetwork/spy:v1.0.1