Public Repository

Last pushed: 5 months ago
Short Description
DarkMetrix log test in docker for https://github.com/DarkMetrix/log
Full Description

Introduction

DarkMetrix log test is an application that send logs to unix domain socket(Datagram) to verify is log agent and server is working fine.

QuickStart

docker run \
        -d \
        --rm \
        --name dm_log_test \
        -v /var/tmp:/var/tmp \
        dark_metrix/log/test \
        -number_per_threads=10 \
        -message="test long log"

Configuration

-level int

    The log level, default:1 (1, 2, 3, 4 available) (default 1)

-message string

    Log content to send, default:"test log for dm_log_agent" (default "test log for dm_log_agent")

-number_per_threads int

    Number of log to send each thread, default:1 (default 1)

-project string

    The log project, default:test_project (default "test_project")

-service string

    The log service, default:test_service (default "test_service")

-threads int

    Number of threads to send logs, default:1 (default 1)

-unix_domain_socket string

    The unix domain socket path, default:/var/tmp/net_log.sock (default "/var/tmp/net_log.sock")
Docker Pull Command
Owner
darkmetrix

Comments (0)