github.com/mongodb/ftdc
go get github.com/mongodb/ftdc

github.com/mongodb/ftdc

utils for working with mongodb full-time diagnostic data capture files

by mongodb

v0.0.0-20211209154911-eb42fe903ca6 (see all)License:Apache-2.0, Apache-2.0
go get github.com/mongodb/ftdc
Readme

======================================================

ftdc -- Golang FTDC Parsing and Generating Library

Overview

FTDC, originally short for full time diagnostic data capture, is MongoDB's internal diagnostic data collection facility. It encodes data in a space-efficient format, which allows MongoDB to record diagnostic information every second, and store weeks of data with only a few hundred megabytes of storage.

This library provides a fully-featured and easy to use toolkit for interacting data stored in this format in Go programs. The library itself originated as a project by 2016 Summer interns at MongoDB <https://github.com/10gen/ftdc-utils>_ but has diverged substantially since then.

Features

Current


Currently the library provides parsing of the FTDC data format and
several ways of iterating these results. Additionally, it provides the
ability to create FTDC payloads, and is the only extant (?) tool for
generating FTDC data outside of the MongoDB code base.

The library includes tools for generating FTDC payloads and document
streams as well as iterators and tools for accessing data from FTDC
files. All functionality is part of the ``ftdc`` package, and the API
is fully documented.

Upcoming
  • (pending requests and use-cases) mode to read FTDC data without flattening the document structure.

  • command line tools for parsing and generating FTDC payloads.

  • helpers for generating default collector configurations.

  • combined check

  • improved collector performance.

... and more

Documentation

All documentation is in the godoc <https://godoc.org/github.com/mongodb/ftdc>_.

Participate

File tickets in the MAKE <https://jira.mongodb.org/browse/MAKE>_ project on the MongoDB jira. The repository will shortly move back to an offical MongoDB GitHub organization.

Pull requests are welcome.

GitHub Stars

11

LAST COMMIT

4mos ago

MAINTAINERS

0

CONTRIBUTORS

10

OPEN ISSUES

0

OPEN PRs

1
VersionTagPublished
v0.0.0-20211209154911-eb42fe903ca6
5mos ago
v0.0.0-20211208213552-1bd0d3ec3ce8
5mos ago
v0.0.0-20211208200204-37c5aedc3097
5mos ago
v0.0.0-20191029194810-84b1bb259015
6mos ago
No alternatives found
No tutorials found
Add a tutorial