-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Resource Processor to internal data model
This commit migrates resource processor to internal data model. Existing configuration is relevant only to OpenCensus resource, so this commit also changes the configuration schema to align with OTLP resource naming and to allow future evolvement of the processor. New config field uses "attributes" field representing actions that can be made on resource attributes. For now we have only one action "upsert" representing existing behavior. Old fields "type" and "labels" are still supported for backward compatibility, but marked as deprecated. In order to migrate to migrate existing resource processor config: 1. Rename "labels" field to "attributes" 2. Add value from "type" field to "attributes" under "opencensus.resourcetype" key.
- Loading branch information
Showing
9 changed files
with
302 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.