Skip to content

Commit

Permalink
Add synthesis rules for INFRA-CONTAINER (#45)
Browse files Browse the repository at this point in the history
* Add synthesis rules for INFRA-CONTAINER

* Missing aliasing one tag (docker.state should create container.state).
  We have to add this feature to the config files.
* Missing defining a second set of rules for Kubernetes containers,
  which needs adding the multiple-telemetry support feature to these
  files.

This will however allow us to start seeing some synthesized containers.
  • Loading branch information
srvaroa authored Jan 26, 2021
1 parent dba0f40 commit 581dbba
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions definitions/infra-container/definition.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
domain: INFRA
type: CONTAINER

# TODO: missing conditions to match on k8s containers, waiting until
# we add support for multiple telemetry sources.
synthesis:
identifier: entity.id
name: docker.name
encodeIdentifierInGUID: true

conditions:
- attribute: docker.containerId

tags:
- container.state
- docker.state
- docker.containerId
- newrelic.integrationName
- newrelic.integrationVersion
- newrelic.agentVersion

goldenTags:
- environment
- container.state

compositeMetrics:
goldenMetrics:
- golden_metrics.yml
Expand Down

0 comments on commit 581dbba

Please sign in to comment.