-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Registry manifest and OTEL schema update #400
base: main
Are you sure you want to change the base?
Conversation
# Conflicts: # crates/weaver_semconv/src/group.rs
use crate::util::{load_semconv_specs, resolve_telemetry_schema}; | ||
use crate::{DiagnosticArgs, ExitDirectives}; | ||
use clap::Args; | ||
use miette::Diagnostic; |
Check failure
Code scanning / clippy
unused import: miette::Diagnostic Error
use crate::util::{load_semconv_specs, resolve_telemetry_schema}; | ||
use crate::{DiagnosticArgs, ExitDirectives}; | ||
use clap::Args; | ||
use miette::Diagnostic; |
Check failure
Code scanning / clippy
unused import: miette::Diagnostic Error
use crate::{DiagnosticArgs, ExitDirectives}; | ||
use clap::Args; | ||
use miette::Diagnostic; | ||
use serde::Serialize; |
Check failure
Code scanning / clippy
unused import: serde::Serialize Error
use crate::{DiagnosticArgs, ExitDirectives}; | ||
use clap::Args; | ||
use miette::Diagnostic; | ||
use serde::Serialize; |
Check failure
Code scanning / clippy
unused import: serde::Serialize Error
use clap::Args; | ||
use miette::Diagnostic; | ||
use serde::Serialize; | ||
use std::path::PathBuf; |
Check failure
Code scanning / clippy
unused import: std::path::PathBuf Error
use clap::Args; | ||
use miette::Diagnostic; | ||
use serde::Serialize; | ||
use std::path::PathBuf; |
Check failure
Code scanning / clippy
unused import: std::path::PathBuf Error
use std::path::PathBuf; | ||
use weaver_cache::registry_path::RegistryPath; | ||
use weaver_cache::RegistryRepo; | ||
use weaver_common::diagnostic::{DiagnosticMessage, DiagnosticMessages}; |
Check failure
Code scanning / clippy
unused import: DiagnosticMessage Error
use std::path::PathBuf; | ||
use weaver_cache::registry_path::RegistryPath; | ||
use weaver_cache::RegistryRepo; | ||
use weaver_common::diagnostic::{DiagnosticMessage, DiagnosticMessages}; |
Check failure
Code scanning / clippy
unused import: DiagnosticMessage Error
// Generate the diff between the two versions of the registries. | ||
let _changes = main_resolved_schema.diff(&baseline_resolved_schema); | ||
let schema = TelemetrySchema::try_from_file(args.schema.clone())?; | ||
dbg!(schema); |
Check failure
Code scanning / clippy
the dbg! macro is intended as a debugging tool Error
// Generate the diff between the two versions of the registries. | ||
let _changes = main_resolved_schema.diff(&baseline_resolved_schema); | ||
let schema = TelemetrySchema::try_from_file(args.schema.clone())?; | ||
dbg!(schema); |
Check failure
Code scanning / clippy
the dbg! macro is intended as a debugging tool Error
Tasks:
otel-registry-manifest.yaml
.Notes: Some people would like to generate database migration scripts based on the diff between two registries. This reinforces the need to decouple the registry diff from how the diff is used (e.g., generation of OTEL schema, migration guides (documentation), db migration script, etc.).
Closes: #186