Skip to content

Commit

Permalink
Merge branch 'main' into cmanallen/replays-add-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cmanallen committed Dec 17, 2023
2 parents 2f1bbf5 + f508a3b commit 207ca32
Show file tree
Hide file tree
Showing 34 changed files with 1,333 additions and 274 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
target
/python/sentry_kafka_schemas/schema_types/
node_modules/
.idea/
137 changes: 137 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,142 @@
# Changelog and versioning

## 0.1.38

### Various fixes & improvements

- feat(spans): Add a metrics summary field to spans (#195) by @phacops

## 0.1.37

### Various fixes & improvements

- fix(spans): Fix measurements schema on spans (#194) by @phacops

## 0.1.36

### Various fixes & improvements

- feat(spans): Add measurements field (#190) by @phacops

## 0.1.35

### Various fixes & improvements

- Relicense under FSL-1.0-Apache-2.0 (#193) by @chadwhitacre
- Avoid reruns of the build script (#192) by @Swatinem
- Embed Topics/Schemas into Rust crate (#191) by @Swatinem

## 0.1.34

### Various fixes & improvements

- feat(spans): Add a received field to track e2e latency (#189) by @phacops

## 0.1.33

### Various fixes & improvements

- Add gauges to ingest + snuba generic metrics schema (#186) by @ayirr7
- feat(feedback): add feedback as new event type (#187) by @JoshFerge

## 0.1.32

### Various fixes & improvements

- fix(spans): Fix types for integer and number fields (#185) by @phacops
- Update comment (#183) by @dbanda
- feat(rust): Add validate_json() method in Rust (#184) by @lynnagara

## 0.1.31

### Various fixes & improvements

- fix(spans): Fix snuba-spans example (#182) by @phacops

## 0.1.30

### Various fixes & improvements

- feat(spans): Add schema for ingest-spans (#180) by @phacops
- fix(spans): Remove wrong array type (#181) by @phacops
- spans: add profile id (#179) by @dbanda
- feat(CoGS): Add `shared-resources-usage` topic schema (#178) by @rahul-kumar-saini

## 0.1.29

### Various fixes & improvements

- allow new `nel` event type in events topics (#177) by @oioki

## 0.1.28

### Various fixes & improvements

- Revert "Add spans data schema (#153)" (#176) by @lynnagara

## 0.1.27

### Various fixes & improvements

- fix(spans): Fix schema as tags can only be stored as strings (#175) by @phacops

## 0.1.26

### Various fixes & improvements

- fix(spans): Add missing description field (#174) by @phacops

## 0.1.25

### Various fixes & improvements

- parent 4bcfde3655868210dc9c56df2485ffb29cbb8158 (#173) by @dbanda

## 0.1.24

### Various fixes & improvements

- spans only schemas (#172) by @dbanda
- fix: Fix events schema (#170) by @lynnagara

## 0.1.23

### Various fixes & improvements

- fix: Simplify events schemas (#171) by @lynnagara
- feat(querylog): Add schema definition for stats object (#169) by @lynnagara

## 0.1.22

### Various fixes & improvements

- feat(generic-metrics): Add `aggregation_option` field to metrics (#167) by @john-z-yang
- feat: Export timer data type from querylog (#166) by @lynnagara

## 0.1.21

### Various fixes & improvements

- feat: Mark required fields in querylog (#165) by @lynnagara

## 0.1.20

### Various fixes & improvements

- fix(transactions): Make received field required for transactions (#163) by @ayirr7

## 0.1.19

### Various fixes & improvements

- feat(group-attributes): add new topic and schema for group attributes (#164) by @barkbarkimashark

## 0.1.18

### Various fixes & improvements

- fix(ingest-replay-events): Type is not required (#162) by @lynnagara

## 0.1.17

### Various fixes & improvements
Expand Down
10 changes: 10 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/topics/ingest-metrics.yaml @getsentry/owners-ingest @getsentry/owners-snuba
/topics/ingest-performance-metrics.yaml @getsentry/owners-ingest @getsentry/owners-snuba
/topics/ingest-replay-recordings.yaml @getsentry/owners-ingest @getsentry/owners-snuba @getsentry/replay
/topics/ingest-spans.yaml @getsentry/team-starfish

# Topics consumed by Snuba
/topics/events.yaml @getsentry/owners-snuba
Expand All @@ -13,14 +14,23 @@
/topics/ingest-replay-events.yaml @getsentry/owners-snuba @getsentry/replay
/topics/processed-profiles.yaml @getsentry/owners-snuba @getsentry/profiling
/topics/profiles-call-tree.yaml @getsentry/owners-snuba @getsentry/profiling
/topics/group-attributes.yaml @getsentry/owners-snuba @getsentry/issues
/topics/snuba-spans.yaml @getsentry/owners-snuba

# Topics produced to by Snuba
/topics/shared-resources-usage.yaml @getsentry/owners-snuba @getsentry/data

# Schemas
/schemas/profile-metadata.v1.schema.json @getsentry/profiling
/schemas/profile-functions.v1.schema.json @getsentry/profiling
/schemas/group-attributes.v1.schema.json @getsentry/issues
/schemas/ingest-spans.v1.schema.json @getsentry/team-starfish

# Examples
/examples/profile-metadata/ @getsentry/profiling
/examples/profile-functions/ @getsentry/profiling
/examples/group-attributes/ @getsentry/issues
/examples/ingest-spans/ @getsentry/team-starfish

# Internal Snuba topics
/topics/snuba-queries.yaml @getsentry/owners-snuba
Expand Down
10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name = "sentry-kafka-schemas"
authors = ["Sentry <oss@sentry.io>"]
description = "Kafka topics and schemas for Sentry"
repository = "https://github.com/getsentry/sentry-kafka-schemas"
license-file = "./LICENSE"
version = "0.1.17"
license-file = "./LICENSE.md"
version = "0.1.38"
edition = "2021"

build = "rust/build.rs"
include = ["/rust/*.rs", "/Cargo.toml", "/schemas/**", "/topics/**", "/README.md", "/LICENSE"]
include = ["/rust/*.rs", "/Cargo.toml", "/schemas/**", "/topics/**", "/README.md", "/LICENSE.md"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -31,6 +31,8 @@ serde = { version = "1.0", features = ["derive"]}
serde_json = "1.0"
serde_yaml = "0.9"
regress = { version = "0.5.0", optional = true } # required by generated code
jsonschema = "0.17.1"
thiserror = "1.0.49"

# redeclare all build-dependencies here so that the build.rs can be used
# standalone to view types
Expand All @@ -45,3 +47,5 @@ schemars = { version = "0.8.0", optional = true }
serde_json = "1.0"
syn = { version = "2.0.11", optional = true }
typify = { version = "0.0.11", optional = true }
jsonschema = "0.17.1"
thiserror = "1.0.49"
104 changes: 0 additions & 104 deletions LICENSE

This file was deleted.

Loading

0 comments on commit 207ca32

Please sign in to comment.