chore!: minor fixes here and there & move CRDs into submods & introduce serializer helpers
This commit is contained in:
parent
e7f6ddf741
commit
3ac37809b7
1 changed files with 811 additions and 1543 deletions
|
|
@ -50,6 +50,7 @@ pub struct ReportingInit {
|
|||
pub pro_registry: Option<prometheus_client::registry::Registry>,
|
||||
}
|
||||
|
||||
/// For opentelemetry TraceId to be present, tracing_opentelemetry::layer must also be set
|
||||
pub fn init(k8s_client: kube::Client, ct: CancellationToken) -> anyhow::Result<ReportingInit> {
|
||||
let config = ReportingConfig::builder()
|
||||
.env()
|
||||
|
|
|
|||
Loading…
Reference in a new issue