Skip to content
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
This repository was archived by the owner on Oct 23, 2026. It is now read-only.

Is there documentation on how mtail's runtime and parser are implemented? #972

Open

Description

@cobolbaby

Hi mtail team,

Thanks for your work on this project — it’s been really useful for log-based metric extraction.

I'm curious about the implementation details of mtail's runtime, particularly:

  • Is the mtail language parser and runtime based on any existing libraries (e.g., lex/yacc, ANTLR, PEG, etc.)?
  • Or is it entirely custom-built?
  • Are there any documents, design notes, or blog posts that explain the architecture, especially how mtail programs are parsed and executed?

I’m asking because I’d like to better understand the limitations, performance characteristics, and possibly contribute in the future.

Appreciate your insights!

Activity

  1. jaqx0r commented on Apr 30, 2026

    @jaqx0r
    Contributor

    I think you can find the answers to these questions by reading the code. It's well commented and structured.

    Please take your questions to jaqx0r/mtail in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions