Skip to content

ivaltryek/datadog-logger-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datadog-logger-example

Datadog Custom Logger example

How to run this example

  • Create Virtual environment

    # For Linux
    python3 -m venv .venv
    
    # For Windows
    python -m .venv venv
  • Enable Virtual environment

    # For Linux
    source .venv/bin/activate
    
    # For Windows
    .venv\Scripts\Activate
  • Install required packages

    pip3 install -r requirements.txt
  • Run the main script

    # Linux
    python3 runtests.py
    
    #Windows
    python runtests.py

💡 Please add your datadog API key in set_envs.py to connect with datadog and only then your logs will be sent to datadogs

About

Datadog Custom Logger example

Resources

Stars

Watchers

Forks

Languages