Skip to content

Commit 59900bf

Browse files
authored
comments for prom alerts changes (#225)
1 parent 7f199a6 commit 59900bf

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

Diff for: generated/go/porter/v1/prometheus_alerts.pb.go

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: generated/js/src/porter/v1/prometheus_alerts_pb.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
77
import { Message, proto3 } from "@bufbuild/protobuf";
88

99
/**
10+
* InvolvedObjectType is the kubernetes object type the notification targets
11+
* We currently alert for deployments, statefulsets and daemonsets
12+
*
1013
* @generated from enum porter.v1.InvolvedObjectType
1114
*/
1215
export declare enum InvolvedObjectType {
@@ -32,6 +35,8 @@ export declare enum InvolvedObjectType {
3235
}
3336

3437
/**
38+
* Alert represents a prometheus alert for one target object that is a daemonset, statefulset or deployment
39+
*
3540
* @generated from message porter.v1.Alert
3641
*/
3742
export declare class Alert extends Message<Alert> {

Diff for: generated/js/src/porter/v1/prometheus_alerts_pb.js

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
import { proto3 } from "@bufbuild/protobuf";
77

88
/**
9+
* InvolvedObjectType is the kubernetes object type the notification targets
10+
* We currently alert for deployments, statefulsets and daemonsets
11+
*
912
* @generated from enum porter.v1.InvolvedObjectType
1013
*/
1114
export const InvolvedObjectType = /*@__PURE__*/ proto3.makeEnum(
@@ -19,6 +22,8 @@ export const InvolvedObjectType = /*@__PURE__*/ proto3.makeEnum(
1922
);
2023

2124
/**
25+
* Alert represents a prometheus alert for one target object that is a daemonset, statefulset or deployment
26+
*
2227
* @generated from message porter.v1.Alert
2328
*/
2429
export const Alert = /*@__PURE__*/ proto3.makeMessageType(

Diff for: porter/v1/prometheus_alerts.proto

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ syntax = "proto3";
22

33
package porter.v1;
44

5+
// InvolvedObjectType is the kubernetes object type the notification targets
6+
// We currently alert for deployments, statefulsets and daemonsets
57
enum InvolvedObjectType {
68
INVOLVED_OBJECT_TYPE_UNSPECIFIED = 0;
79

@@ -12,6 +14,7 @@ enum InvolvedObjectType {
1214
INVOLVED_OBJECT_TYPE_DAEMONSET = 3;
1315
}
1416

17+
// Alert represents a prometheus alert for one target object that is a daemonset, statefulset or deployment
1518
message Alert {
1619
string name = 1;
1720
string namespace = 2;

0 commit comments

Comments
 (0)