Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions src/bitdrift/public/unary/admin/v1/notifications.proto
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ message NotificationGroup {
.bitdrift.public.unary.admin.v1.NotificationGroup.DataDogNotification.DataDogSeverity severity = 5 [(validate.rules).enum = {defined_only: true}];
}

message HttpsWebhook {
// The URL of the HTTPS webhook. The URL will receive a POST request with a JSON representation
// of the `WebhookNotification` message when a notification is sent to the webhook.
string url = 1 [(validate.rules).string = {
min_len: 1
max_len: 2048
}];
}

// The name of the notification group. Must be unique.
string name = 1 [(validate.rules).string = {
min_len: 1
Expand All @@ -84,14 +93,14 @@ message NotificationGroup {
// The list of PagerDuty targets that are members of the notification group.
repeated .bitdrift.public.unary.admin.v1.NotificationGroup.PagerDutyNotification pager_duty_notifications = 3 [(validate.rules).repeated = {max_items: 100}];

// The list of email addresses that are members of the notification group.
repeated string email_addresses = 4 [(validate.rules).repeated = {max_items: 100}];

// The list of SNS topic ARNs that are members of the notification group.
repeated string sns_topic_arns = 5 [(validate.rules).repeated = {max_items: 100}];

// The list of DataDog On-Call targets that are members of the notification group.
repeated .bitdrift.public.unary.admin.v1.NotificationGroup.DataDogNotification datadog_notifications = 6 [(validate.rules).repeated = {max_items: 100}];

// The list of HTTPS webhooks that are members of the notification group.
repeated .bitdrift.public.unary.admin.v1.NotificationGroup.HttpsWebhook https_webhooks = 7 [(validate.rules).repeated = {max_items: 5}];
}

// Requests the notification groups configured for the organization.
Expand Down
7 changes: 6 additions & 1 deletion src/bitdrift/public/unary/dashboards/v1/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ message Dashboard {
min_len: 1
max_len: 1000
}];

// The union of tags associated with the workflows referenced in this dashboard.
repeated .bitdrift.public.unary.workflows.v1.Workflow.WorkflowTag workflow_tags = 11 [(validate.rules).repeated = {max_items: 100}];
}

oneof type {
Expand Down Expand Up @@ -832,7 +835,9 @@ service DashboardService {
//
// Returns rendered chart output such as time-series values, labels, and table rows. For grouped
// charts, callers can reuse each returned `TimeSeries.id` together with its full `labels` set to
// build `charts.v1.LimitStrategy.IdentifierMatch` in a later request.
// build `charts.v1.LimitStrategy.IdentifierMatch` in a later request. When unique-device counts
// are deferred, the response includes per-chart deferred dimensions and a response-level context
// that can be passed to HydrateChartsData.
rpc GetChartsData(.bitdrift.public.unary.dashboards.v1.GetChartsDataRequest) returns (.bitdrift.public.unary.dashboards.v1.GetChartsDataResponse);

// Gets the unique active devices for a given time range and filter conditions. Active devices in
Expand Down
3 changes: 3 additions & 0 deletions src/bitdrift/public/unary/issues/v1/issues.proto
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,9 @@ message Issue {

// The unique id of the session that this issue occurred within.
optional string session_id = 14 [(validate.rules).string = {min_len: 1}];

// The status of the session associated with this issue.
.bitdrift.public.unary.common.v1.SessionStatusInfo session_status_info = 20;
}

message GetIssueResponse {
Expand Down
18 changes: 12 additions & 6 deletions src/bitdrift/public/unary/workflows/v1/workflow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ message Workflow {
// Note that due to how LastSeen works, reading the workflow data counts as a "last seen" and will reset the
// expiration time.
.google.protobuf.Timestamp deployment_expiration_time = 24;

// A list of tags that have been assigned to this workflow. These can be used for filtering
// purposes within a view.
repeated .bitdrift.public.unary.workflows.v1.Workflow.WorkflowTag tags = 32 [(validate.rules).repeated = {max_items: 100}];
}

// An individual flow within a workflow.
Expand Down Expand Up @@ -286,12 +290,14 @@ message MatchRule {
}

message IssueMatch {
// A valid BDRL program. The program will be run against the incoming issue and can produce
// various outputs that both feed the attached matcher as well as affect certain operations such
// as grouping, team assignment, etc. See the documentation for BDRL issue scripting for more
// details. After the BDRL program runs, a synthetic log will be generated both with default
// fields as well as any fields generated by the BDRL program.
string bdrl_program = 1 [(validate.rules).string = {max_len: 4096}];
oneof script_type {
// A valid ripsaw program. The program will be run against the incoming issue and can produce
// various outputs that both feed the attached matcher as well as affect certain operations such
// as grouping, team assignment, etc. See the documentation for issue scripting for more
// details. After the program runs, a synthetic log will be generated both with default fields
// as well as any fields generated by the program.
string program = 2 [(validate.rules).string = {max_len: 4096}];
}
}

message StateChangeMatch {
Expand Down
Loading