You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use `--include-unreferenced` when exploring dependencies or generating comprehensive documentation. Use the default mode for production schemas to keep them minimal.
209
+
### When to Use Each Mode
210
+
211
+
**Use default mode (without flag)** when:
212
+
- You want a minimal schema with only used definitions
213
+
- You're generating code and want to avoid unused definitions
214
+
- You want to reduce the size of your resolved schema
215
+
216
+
**Use `--include-unreferenced`** when:
217
+
- You need complete visibility into all available definitions
218
+
- You're exploring or documenting what's available in dependencies
219
+
- You're building tooling that needs to know about all possible definitions
220
+
- You want to generate comprehensive documentation
210
221
211
222
## Working with OpenTelemetry Semantic Conventions
212
223
@@ -244,11 +255,54 @@ spans:
244
255
245
256
## Common Use Cases
246
257
247
-
**Vendor Extensions**: Cloud providers can extend OTel with vendor-specific attributes
258
+
### Use Case 1: Vendor Extensions
259
+
260
+
A cloud provider can extend OTel definitions with vendor-specific attributes:
0 commit comments