Skip to main content

Metrics Logging

Project description

https://secure.travis-ci.org/mozilla-services/metlog-py.png

metlog-py is a Python client for the “Metlog” system of application logging and metrics gathering developed by the Mozilla Services team. The Metlog system is meant to make life easier for application developers with regard to generating and sending logging and analytics data to various destinations. It achieves this goal (we hope!) by separating the concerns of message generation from those of message delivery and analysis. Front end application code no longer has to deal directly with separate back end client libraries, or even know what back end data storage and processing tools are in use. Instead, a message is labeled with a type (and possibly other metadata) and handed to the Metlog system, which then handles ultimate message delivery.

The Metlog system consists of three pieces:

generator

This is the application that will be generating the data that is to be sent into the system.

router

This is the initial recipient of the messages that the generator will be sending. Typically, a metlog router deserializes the messages it receives, examines them, and decides based on the message metadata or contents which endpoint(s) to which the message should be delivered.

endpoints

Different types of messages lend themselves to different types of presentation, processing, and analytics. The router has the ability to deliver messages of various types to destinations that are appropriate for handling those message types. For example, simple log messages might be output to a log file, while counter timer info is delivered to a statsd server, and Python exception information is sent to a Sentry server.

The metlog-py library you are currently reading about is a client library meant to be used by Python-based generator applications. It provides a means for those apps to insert messages into the system for delivery to the router and, ultimately, one or more endpoints.

More information about how Mozilla Services is using Metlog (including what is being used for a router and what endpoints are in use / planning to be used) can be found on the relevant spec page.

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

metlog-py-0.9.10.tar.gz (45.6 kB view details)

Uploaded Source

File details

Details for the file metlog-py-0.9.10.tar.gz.

File metadata

  • Download URL: metlog-py-0.9.10.tar.gz
  • Upload date:
  • Size: 45.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for metlog-py-0.9.10.tar.gz
Algorithm Hash digest
SHA256 9570c7651a1103f06b163315ef3c177935a45c1bdec1c4a24dd5f7569ce1fc86
MD5 17d96b8fdfba18f26935b3525cf29380
BLAKE2b-256 2f422967f7eb2fadd5c6f82b7fd1be7ea82aa6345fa76b0f6c50c0666d60abd1

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