Skip to content

Commit

Permalink
✨ Source Sentry: added undeclared fields to stream schema (#30192)
Browse files Browse the repository at this point in the history
  • Loading branch information
darynaishchenko committed Sep 19, 2023
1 parent 839fb26 commit 27dd3ff
Show file tree
Hide file tree
Showing 10 changed files with 201 additions and 11 deletions.
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-sentry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ COPY source_sentry ./source_sentry
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.2.4
LABEL io.airbyte.version=0.3.0
LABEL io.airbyte.name=airbyte/source-sentry
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ acceptance_tests:
bypass_reason: "Order access return randomly"
- name: features
bypass_reason: "Order features return randomly"
- name: options
bypass_reason: "Order options return randomly"
- name: organization/features
bypass_reason: "Order features return randomly"
- name: plugins/*/features
Expand All @@ -22,7 +24,6 @@ acceptance_tests:
bypass_reason: "Order features return randomly"
- name: organization/features
bypass_reason: "Order features return randomly"
fail_on_extra_columns: false
connection:
tests:
- config_path: secrets/config.json
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: cdaf146a-9b75-49fd-9dd2-9d64a0bb4781
dockerImageTag: 0.2.4
dockerImageTag: 0.3.0
maxSecondsBetweenMessages: 64800
dockerRepository: airbyte/source-sentry
githubIssueLabel: source-sentry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"type": {"type" : ["null", "string"]},
"eventID": {
"type": "string"
},
Expand Down Expand Up @@ -68,6 +69,98 @@
},
"title": {
"type": "string"
}
},
"_meta": {
"type": ["null", "object"],
"properties" : {
"context": {"type" : ["null", "string"]},
"contexts": {"type" : ["null", "string"]},
"entries": {"type" : ["null", "object"]},
"message": {"type" : ["null", "string"]},
"packages": {"type" : ["null", "string"]},
"sdk": {"type" : ["null", "string"]},
"tags": {"type" : ["null", "object"]},
"user": {"type" : ["null", "string"]}
}
},
"context": {
"type" : ["null", "object"],
"properties" : {
"emptyList": {
"type" : ["null", "array"]
},
"emptyMap": {
"type" : ["null", "object"]
},
"length": {"type" : ["null", "integer"]},
"results": {"type" : ["null", "array"], "items" : {"type" : "integer"}},
"session": {"type" : ["null", "object"], "properties" : {
"foo": {
"type" : ["null", "string"]
}
}},
"unauthorized": {"type" : ["null", "boolean"]},
"url": {"type" : ["null", "string"]}
}
},
"contexts": {
"type" : ["null", "object"],
"properties" : {
"browser": {"type" : ["null", "object"], "properties" : {
"name": {"type" : ["null", "string"]},
"type": {"type" : ["null", "string"]},
"version": {"type" : ["null", "string"]}
}},
"client_os": {"type" : ["null", "object"], "properties" : {
"name": {"type" : ["null", "string"]},
"type": {"type" : ["null", "string"]},
"version": {"type" : ["null", "string"]}
}}
}
},
"crashFile": {"type" : ["null", "string"]},
"culprit": {"type" : ["null", "string"]},
"dateReceived": {"type" : ["null", "string"], "format" : "date-time"},
"dist": {"type" : ["null", "string"]},
"entries": {"type" : ["null", "array"], "items" : {"type" : ["null", "object"]}, "properties" : {
"data": {"type" : ["null", "object"], "properties" : {
"formatted": {"type" : ["null", "string"]},
"frames": {"type" : ["null", "object"], "properties" : {
"absPath": {"type" : ["null", "string"]},
"colNo": {"type" : ["null", "string"]},
"context": {"type" : ["null", "array"]},
"filename": {"type" : ["null", "string"]},
"function": {"type" : ["null", "string"]},
"inApp": {"type" : ["null", "boolean"]},
"lineNo": {"type" : ["null", "integer"]},
"lock": {"type" : ["null", "integer"]},
"module": {"type" : ["null", "string"]},
"package": {"type" : ["null", "string"]},
"platform": {"type" : ["null", "string"]},
"rawFunction": {"type" : ["null", "string"]},
"sourceLink": {"type" : ["null", "string"]},
"symbol": {"type" : ["null", "string"]},
"symbolAddr": {"type" : ["null", "string"]},
"trust": {"type" : ["null", "string"]}
}}
}},
"type": {"type" : ["null", "string"]}
}},
"errors": {"type" : ["null", "array"], "items" : {"type" : ["null", "string"]}},
"fingerprints": {"type" : ["null", "array"], "items" : {"type" : ["null", "string"]}},
"groupingConfig": {"type" : ["null", "object"], "properties" : {
"enhancements": {"type" : ["null", "string"]},
"id": {"type" : ["null", "string"]}
}},
"location": {"type" : ["null", "string"]},
"metadata": {"type" : ["null", "object"], "properties" : {
"in_app_frame_mix": {"type" : ["null", "string"]},
"title": {"type" : ["null", "string"]}
}},
"occurrence": {"type" : ["null", "string"]},
"packages": {"type" : ["null", "object"]},
"projectID": {"type" : ["null", "string"]},
"sdk": {"type" : ["null", "string"]},
"size": {"type" : ["null", "integer"]}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,21 @@
},
"userCount": {
"type": "integer"
},
"isUnhandled": {
"type" : ["null", "boolean"]
},
"issueCategory": {
"type" : ["null", "string"]
},
"issueType": {
"type" : ["null", "string"]
},
"platform": {
"type" : ["null", "string"]
},
"substatus": {
"type" : ["null", "string"]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,51 @@
},
"verifySSL": {
"type": "boolean"
}
},
"access": {
"type" : ["null", "array"],
"items" : {
"type" : ["null", "string"]
}
},
"builtinSymbolSources": {
"type" : ["null", "array"],
"items" : {
"type" : ["null", "string"]
}
},
"dynamicSamplingBiases": {
"type" : ["null", "array"],
"items" : {
"type" : ["null", "object"],
"properties" : {
"id": {"type" : ["null", "string"]},
"active": {"type" : ["null", "boolean"]}
}
}
},
"eventProcessing": {
"type" : ["null", "object"],
"properties" : {
"symbolicationDegraded": {
"type" : ["null", "boolean"]
}
}
},
"fingerprintingRules": {"type" : ["null", "string"]},
"firstTransactionEvent": {"type" : ["null", "boolean"]},
"groupingAutoUpdate": {"type" : ["null", "boolean"]},
"groupingConfig": {"type" : ["null", "string"]},
"groupingEnhancements": {"type" : ["null", "string"]},
"groupingEnhancementsBase": {"type" : ["null", "string"]},
"hasMinifiedStackTrace": {"type" : ["null", "boolean"]},
"hasMonitors": {"type" : ["null", "boolean"]},
"hasProfiles": {"type" : ["null", "boolean"]},
"hasReplays": {"type" : ["null", "boolean"]},
"hasSessions": {"type" : ["null", "boolean"]},
"recapServerUrl": {"type" : ["null", "string"]},
"secondaryGroupingConfig": {"type" : ["null", "string"]},
"secondaryGroupingExpiry": {"type" : ["null", "integer"]},
"symbolSources": {"type" : ["null", "string"]}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,18 @@
"status": {
"type": "string",
"enum": ["active", "disabled", "pending_deletion", "deletion_in_progress"]
}
},
"access": {
"type" : ["null", "array"],
"items" : {
"type" : ["null", "string"]
}
},
"firstTransactionEvent": {"type" : ["null", "boolean"]},
"hasMonitors": {"type" : ["null", "boolean"]},
"hasProfiles": {"type" : ["null", "boolean"]},
"hasReplays": {"type" : ["null", "boolean"]},
"hasSessions": {"type" : ["null", "boolean"]},
"hasMinifiedStackTrace": {"type" : ["null", "boolean"]}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,29 @@
},
"version": {
"type": ["null", "string"]
},
"currentProjectMeta": {
"type" : ["null", "object"]
},
"status": {"type" : ["null", "string"]},
"userAgent": {"type" : ["null", "string"]},
"versionInfo": {"type" : ["null", "object"],
"properties" : {
"buildHash": {"type" : ["null", "string"]},
"description": {"type" : ["null", "string"]},
"package": {"type" : ["null", "string"]},
"version": {"type" : ["null", "object"],
"properties" : {
"buildCode": {"type" : ["null", "string"]},
"components": {"type" : ["null", "integer"]},
"major": {"type" : ["null", "integer"]},
"minor": {"type" : ["null", "integer"]},
"patch": {"type" : ["null", "integer"]},
"pre": {"type" : ["null", "string"]},
"raw": {"type" : ["null", "string"]}
}
}
}
}
}
}
1 change: 1 addition & 0 deletions docs/integrations/sources/sentry.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ The Sentry source connector supports the following [sync modes](https://docs.air

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:------------------------------------------------------------------------|
| 0.3.0 | 2023-09-05 | [30192](https://github.com/airbytehq/airbyte/pull/30192) | Added undeclared fields to schema |
| 0.2.4 | 2023-08-14 | [29401](https://github.com/airbytehq/airbyte/pull/29401) | Fix `null` value in stream state |
| 0.2.3 | 2023-08-03 | [29023](https://github.com/airbytehq/airbyte/pull/29023) | Add incremental for `issues` stream |
| 0.2.2 | 2023-05-02 | [25759](https://github.com/airbytehq/airbyte/pull/25759) | Change stream that used in check_connection |
Expand Down

0 comments on commit 27dd3ff

Please sign in to comment.