Skip to content

Write report marker #5385

@brianehlert

Description

@brianehlert

Overview

Write a simple txt file that contains name:value pairs of the following:

  • Integration - (string) (N1) this identifies the instance as part of a NIC or NGF (or other) integration.
  • ClusterID - (string) (per cluster) cluster relationship for the deployment.
  • ClusterNodeCount - (int) (per cluster & per node) the number of nodes in the cluster.
  • InstallationID - (string) (per instance) this identifies the individual NIC/NGF deployment relationship.

Output location: /etc/nginx/reporting/tracking.info

Acceptance Criteria

  • Output file is a simple text file
  • Must work with readOnlyRootFilesystem: true
  • Should be written near startup.
  • File is updated periodically updated. (once per 24 hours, for example)
  • Entry referencing file is defined in NGINX mgmt block

Data Format

File format is simple JSON-based format with these values supported:

{
    "Integration": "nic",
    "ClusterID": "6B29FC40-CA47-1067-B31D-00DD010662DA",
    "ClusterNodeCount": 5,
    "InstallationID": "6B29FC40-CA47-1067-B31D-00DD010662DB"
}
### Tasks
- [x] Confirm Data to be sent is correct
- [x] Get data format from NGINX team

Metadata

Metadata

Assignees

Labels

backlogPull requests/issues that are backlog itemsproposalAn issue that proposes a feature requestrefinedIssues that are ready to be prioritized

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions