Files
zeekay 4e3a8ef9ca merge: upstream/main (preserve Hanzo brand, 50 commits)
# Conflicts:
#	api/v1alpha1/casting.go
#	api/v1alpha1/installation/signoz.go
#	docs/casting.md
#	docs/examples/docker/compose/pours/deployment/configs/ingester/opamp.yaml
#	docs/examples/systemd/binary/pours/deployment/signoz-ingester.service
#	docs/examples/systemd/binary/pours/deployment/signoz-signoz.service
#	docs/examples/systemd/binary/pours/deployment/signoz-telemetrystore-migrator.service
#	docs/schemas/v1alpha1.yaml
#	internal/foundry/registry.go
#	internal/instrumentation/handler.go
#	internal/molding/signozmolding/signoz.go
2026-06-02 09:59:25 -07:00

26 lines
839 B
Go

package telemetrystoremolding
import (
"embed"
"github.com/hanzoai/o11y-foundry/internal/types"
)
//go:embed templates/*.gotmpl
var templates embed.FS
var (
ConfigClickhousev2556YAML *domain.Template = domain.MustNewTemplateFromFS(templates, "templates/config.clickhouse.v2556.yaml.gotmpl", domain.FormatYAML)
FunctionsClickhousev2556YAML *domain.Template = domain.MustNewTemplateFromFS(templates, "templates/functions.clickhouse.v2556.yaml.gotmpl", domain.FormatYAML)
)
// Data is the template data for rendering ClickHouse telemetry store configs.
type Data struct {
StoreAddresses []domain.Address
KeeperAddresses []domain.Address
ShardCount int
ReplicaCount int
ShardID int // 0-indexed, used to render per-node macros.shard
ReplicaID int // 0-indexed, used to render per-node macros.replica
}