├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── dependencies.Dockerfile ├── docs └── o11y │ └── metrics.md ├── go ├── go.mod ├── go.sum ├── main.go ├── o11y │ └── metric.go └── otel.go ├── o11y ├── common.yaml ├── metrics.yaml └── spans.yaml ├── policies ├── attribute_name_collisions.rego ├── compatibility.rego ├── group_stability.rego ├── registry.rego └── yaml_schema.rego └── templates └── registry ├── go ├── metric.go.j2 └── weaver.yaml ├── markdown ├── attribute_macros.j2 ├── attribute_namespace.md.j2 ├── attribute_table.j2 ├── body_field_table.j2 ├── enum_macros.j2 ├── event_macros.j2 ├── examples_macros.j2 ├── metric_macros.j2 ├── metric_table.j2 ├── metrics.md.j2 ├── notes.j2 ├── readme.md.j2 ├── requirement.j2 ├── resource_macros.j2 ├── sampling_macros.j2 ├── snippet.md.j2 ├── stability.j2 └── weaver.yaml └── rust ├── attribute_macros.j2 ├── attributes ├── attributes.rs.j2 └── mod.rs.j2 ├── metrics ├── instruments │ ├── counter.j2 │ ├── gauge.j2 │ ├── histogram.j2 │ └── updowncounter.j2 ├── metrics.rs.j2 └── mod.rs.j2 └── weaver.yaml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/README.md -------------------------------------------------------------------------------- /dependencies.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/dependencies.Dockerfile -------------------------------------------------------------------------------- /docs/o11y/metrics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/docs/o11y/metrics.md -------------------------------------------------------------------------------- /go/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/go/go.mod -------------------------------------------------------------------------------- /go/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/go/go.sum -------------------------------------------------------------------------------- /go/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/go/main.go -------------------------------------------------------------------------------- /go/o11y/metric.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/go/o11y/metric.go -------------------------------------------------------------------------------- /go/otel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/go/otel.go -------------------------------------------------------------------------------- /o11y/common.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/o11y/common.yaml -------------------------------------------------------------------------------- /o11y/metrics.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/o11y/metrics.yaml -------------------------------------------------------------------------------- /o11y/spans.yaml: -------------------------------------------------------------------------------- 1 | groups: 2 | -------------------------------------------------------------------------------- /policies/attribute_name_collisions.rego: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/policies/attribute_name_collisions.rego -------------------------------------------------------------------------------- /policies/compatibility.rego: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/policies/compatibility.rego -------------------------------------------------------------------------------- /policies/group_stability.rego: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/policies/group_stability.rego -------------------------------------------------------------------------------- /policies/registry.rego: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/policies/registry.rego -------------------------------------------------------------------------------- /policies/yaml_schema.rego: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/policies/yaml_schema.rego -------------------------------------------------------------------------------- /templates/registry/go/metric.go.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/go/metric.go.j2 -------------------------------------------------------------------------------- /templates/registry/go/weaver.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/go/weaver.yaml -------------------------------------------------------------------------------- /templates/registry/markdown/attribute_macros.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/attribute_macros.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/attribute_namespace.md.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/attribute_namespace.md.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/attribute_table.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/attribute_table.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/body_field_table.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/body_field_table.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/enum_macros.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/enum_macros.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/event_macros.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/event_macros.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/examples_macros.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/examples_macros.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/metric_macros.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/metric_macros.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/metric_table.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/metric_table.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/metrics.md.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/metrics.md.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/notes.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/notes.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/readme.md.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/readme.md.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/requirement.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/requirement.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/resource_macros.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/resource_macros.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/sampling_macros.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/sampling_macros.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/snippet.md.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/snippet.md.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/stability.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/stability.j2 -------------------------------------------------------------------------------- /templates/registry/markdown/weaver.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/markdown/weaver.yaml -------------------------------------------------------------------------------- /templates/registry/rust/attribute_macros.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/rust/attribute_macros.j2 -------------------------------------------------------------------------------- /templates/registry/rust/attributes/attributes.rs.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/rust/attributes/attributes.rs.j2 -------------------------------------------------------------------------------- /templates/registry/rust/attributes/mod.rs.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/rust/attributes/mod.rs.j2 -------------------------------------------------------------------------------- /templates/registry/rust/metrics/instruments/counter.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/rust/metrics/instruments/counter.j2 -------------------------------------------------------------------------------- /templates/registry/rust/metrics/instruments/gauge.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/rust/metrics/instruments/gauge.j2 -------------------------------------------------------------------------------- /templates/registry/rust/metrics/instruments/histogram.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/rust/metrics/instruments/histogram.j2 -------------------------------------------------------------------------------- /templates/registry/rust/metrics/instruments/updowncounter.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/rust/metrics/instruments/updowncounter.j2 -------------------------------------------------------------------------------- /templates/registry/rust/metrics/metrics.rs.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/rust/metrics/metrics.rs.j2 -------------------------------------------------------------------------------- /templates/registry/rust/metrics/mod.rs.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/rust/metrics/mod.rs.j2 -------------------------------------------------------------------------------- /templates/registry/rust/weaver.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsuereth/o11y-by-design/HEAD/templates/registry/rust/weaver.yaml --------------------------------------------------------------------------------