Giter VIP home page Giter VIP logo

agent-payload's Introduction

agent-payload

Payload format description for communication between the Agent and the Datadog backend.

This repository includes the protocol-buffer IDL used by the agent6 and agent7 to communicate with the Datadog backend. Those payloads are only supported by the V2 API endpoints. The generated Go, Python and Java implementations are checked into this repository and can be used directly.

Prerequisites

You will need

  • Ruby (any version will do)
  • Go (at least the version in go.mod)
  • A checkout of this repository within a GOPATH (so, at $GOPATH/src/github.com/DataDog/agent-payload)

Payloads

Logs

The logs payload is defined in proto/logs/agent_logs_payload.proto. The following implementations are available:

Metrics

The metrics payload is defined in proto/metrics/agent_payload.proto. The following implementations are available:

Process

The process payload is defined in proto/process/agent.proto. The following implementations are available:

CWS

The CWS security dumps payload is defined in proto/cws/dumpsv1/activity_dump.proto. The following implementations are available:

Updating Proto Definitions

After updating the IDL you must:

  • Regenerate the code: rake codegen, rake will use gimme to run the rake command with the current defined go version
  • If you have indentation/newlines changes, run rake codegen with the same Go version as defined in go.mod
  • Create a new tag with the updated version of the payload

Publishing Changes

After merging changes to master create a release by:

  1. Navigate to the Releases page

  2. Click "Draft a new release"

  3. In the "Choose a tag" drop down, type in the next version number

    Generally you can add one to the last version number. Make sure to include the v prefix. For example, if the last release was v5.0.37, your release should be v5.0.38.

  4. The release title should be the same as the version tag

  5. Use "Generate release notes" to fill in the release description

  6. Click "Publish release"

    This will create a git tag that can now be referenced in other repos.

agent-payload's People

Contributors

kevinconaway avatar isauve avatar mbakht avatar mfpierre avatar djmitche avatar derekwbrown avatar xlucas avatar daniel-taf avatar l3n41c avatar shang-wang avatar p-lambert avatar guyarb avatar cordelialopez avatar jeerim avatar fisherevans avatar leeavital avatar vboulineau avatar mbotarro avatar ahmed-mez avatar stzou avatar brycekahle avatar jlineaweaver avatar ayylam avatar daniellavie avatar paulcacheux avatar tpinto7 avatar conorbranagan avatar gui774ume avatar mx-psi avatar ganeshkumarsv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.