reporting-agent

module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2025 License: Apache-2.0

README

Reporting Agent

Overview

Gathering statistics from Open Edge Platform installations

TBD

Develop

To develop Reporting Agent, the following prerequisites are required:

The required Go version for the agents is outlined here.

Building the Reporting Agent

Binary Build

Run the make rabuild command to build the reporting agent binary. The compiled binary can be found in the build/artifacts directory.

Example:

$ cd reporting-agent/
$ make rabuild
$ ls build/artifacts/
reporting-agent
Source tarball

Run the make tarball command to generate a tarball of the reporting agent code. The tarball can be found in the build/artifacts directory.

Example

$ cd reporting-agent/
$ make tarball
$ ls build/artifacts/
reporting-agent-<VERSION>  reporting-agent-<VERSION>.tar.gz

Running the Reporting Agent Binary

To run the Reporting agent binary after compiling:

./build/artifacts/reporting-agent

Additional Commands for Development

  • Build reporting agent binary and mock binaries:

    make build
    
  • Run unit tests:

    make test
    
  • Run linters:

    make lint
    
  • Get code coverage from unit tests:

    make cover
    

License

Apache-2.0

Directories

Path Synopsis
cpu
k8s

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL