mirror of
https://github.com/hanzoai/o11y-foundry.git
synced 2026-11-03 02:08:34 +00:00
#### Features - Adds collectionAgent Casting Kind Related: https://github.com/SigNoz/platform-pod/issues/1970
19 lines
372 B
Go
19 lines
372 B
Go
package collectionagent
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
"github.com/google/jsonschema-go/jsonschema"
|
|
"github.com/signoz/foundry/api/v1alpha1"
|
|
)
|
|
|
|
//go:embed casting.schema.json
|
|
var schemaJSON []byte
|
|
|
|
var schema = v1alpha1.MustResolveSchema(schemaJSON)
|
|
|
|
// Schema returns the resolved JSON schema for a CollectionAgent casting.
|
|
func Schema() *jsonschema.Resolved {
|
|
return schema
|
|
}
|