This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
Replies: 1 comment
-
This discussion has been migrated to cue-lang/cue#580. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I'm trying to describe in CUE the structure for OpenTelemetry but I am a bit at of a question mark of how to do it.
Below you see a example of how the config can be, the top level structure is
So then I thought of defining a map of
{string: #ReceiverEnum}
kind of but then I can't enforce the receiver / exporter name etc that OTEL relies on since it doesnt define the type | component type based on a attribute inside the config but that falls short of validating the component like receiver | exporter name.I've not done all of the exporters etc but the below is examples
Beta Was this translation helpful? Give feedback.
All reactions