Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
github.com/open-telemetry/opentelemetry-collector-contrib/processor/schemaprocessor
Status | |
---|---|
Stability | development: traces, metrics, logs |
Distributions | [] |
Issues | |
Code Owners | @MovieStoreGuy, @ankitpatel96 |
The Schema Processor is used to convert existing telemetry data or signals to a version of the semantic convention defined as part of the configuration. The processor works by using a set of target schema URLs that are used to match incoming signals. On a match, the processor will fetch the schema translation file (if not cached) set by the incoming signal and apply the transformations required to export as the target semantic convention version.
Furthermore, it is also possible for organisations and vendors to publish their own semantic conventions and be used by this processor, be sure to follow schema overview for all the details.
In order to improve efficiency of the processor, the prefetch
option allows the processor to start downloading and preparing
the translations needed for signals that match the schema URL.
A schema URL is made up in two parts, Schema Family and Schema Version, the schema URL is broken down like so:
| Schema URL |
| https://example.com/telemetry/schemas/ | | 1.0.1 |
| Schema Family | | Schema Version |
The final path in the schema URL MUST be the schema version and the preceding portion of the URL is the Schema Family.
Targets define a set of schema URLs with a schema identifier that will be used to translate any schema URL that matches the target URL to that version.
In the event that the processor matches a signal to a target, the processor will translate the signal from the published one to the defined identifier;
for example using the configuration below, a signal published with the https://opentelemetry.io/schemas/1.8.0
schema will be translated
by the collector to the https//opentelemetry.io/schemas/1.6.1
schema.
Within the schema targets, no duplicate schema families are allowed and will report an error if detected.
processors:
schema:
prefetch:
- https://opentelemetry.io/schemas/1.9.0
targets:
- https://opentelemetry.io/schemas/1.6.1
- http://example.com/telemetry/schemas/1.0.1
For more complete examples, please refer to config.yml.
There's a rough design/overview of the processor in the DESIGN.md file.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.