diff --git a/packages/otelbin/src/components/monaco-editor/JSONSchema.ts b/packages/otelbin/src/components/monaco-editor/JSONSchema.ts index 9b2a3736..5b6a3971 100644 --- a/packages/otelbin/src/components/monaco-editor/JSONSchema.ts +++ b/packages/otelbin/src/components/monaco-editor/JSONSchema.ts @@ -104,7 +104,7 @@ export const schema: JSONSchemaType = { }, required: ["pipelines"], errorMessage: { - required: "pipelines property is required", + required: "the “service” configuration must define pipelines", type: "service property must be yaml map/dictionary", }, }, @@ -118,7 +118,7 @@ export const schema: JSONSchemaType = { }, errorMessage: { type: "Must be a valid OpenTelemetry Collector configuration", - required: "service property is required", + required: "the configuration must specify a “service” entry to define pipelines", }, required: ["service"], };