Skip to content

Commit

Permalink
fix: Add more documentation to analytics message (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 authored Oct 16, 2023
1 parent 2c011ff commit c181fb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ definitions:
additionalProperties: true
description:
"A message to communicate usage information about the connector which is not captured by regular sync analytics because it's specific to the connector internals.
This is useful to understand how the connector is used and how to improve it.
Each message is an event with a type and an optional payload value (both of them being strings). The event types should not be dynamically generated but defined statically.
The payload value is optional and can contain arbitrary strings.
Expand All @@ -285,11 +286,11 @@ definitions:
- type
properties:
type:
description: "the event type"
description: "The event type - should be a static string. Keep in mind that all strings are shared across all connectors."
type: string
value:
type: string
description: "the value of the event"
description: "The value of the event - can be an arbitrary string. In case the value is numeric, it should be converted to a string. Casting for analytics purposes can happen in the warehouse."
AirbyteControlMessage:
type: object
additionalProperties: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ definitions:
additionalProperties: true
description:
"A message to communicate usage information about the connector which is not captured by regular sync analytics because it's specific to the connector internals.
This is useful to understand how the connector is used and how to improve it.
Each message is an event with a type and an optional payload value (both of them being strings). The event types should not be dynamically generated but defined statically.
The payload value is optional and can contain arbitrary strings.
Expand All @@ -280,11 +281,11 @@ definitions:
- type
properties:
type:
description: "the event type"
description: "The event type - should be a static string. Keep in mind that all strings are shared across all connectors."
type: string
value:
type: string
description: "the value of the event"
description: "The value of the event - can be an arbitrary string. In case the value is numeric, it should be converted to a string. Casting for analytics purposes can happen in the warehouse."
AirbyteControlMessage:
type: object
additionalProperties: true
Expand Down

0 comments on commit c181fb4

Please sign in to comment.