Skip to content

Commit

Permalink
update proto
Browse files Browse the repository at this point in the history
  • Loading branch information
masaaania committed Oct 26, 2023
1 parent 6094e9d commit 27bde89
Show file tree
Hide file tree
Showing 14 changed files with 1,067 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/bucketeer/charts/web-gateway/values.yaml

Large diffs are not rendered by default.

Binary file modified proto/batch/proto_descriptor.pb
Binary file not shown.
Binary file modified proto/eventcounter/proto_descriptor.pb
Binary file not shown.
108 changes: 108 additions & 0 deletions proto/proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3269,6 +3269,10 @@
{
"name": "ExperimentCalculator",
"integer": 9
},
{
"name": "MauSummarizer",
"integer": 10
}
]
}
Expand Down Expand Up @@ -8568,6 +8572,87 @@
]
}
},
{
"protopath": "eventcounter:/:mau_summary.proto",
"def": {
"messages": [
{
"name": "MAUSummary",
"fields": [
{
"id": 1,
"name": "yearmonth",
"type": "string"
},
{
"id": 2,
"name": "environment_id",
"type": "string"
},
{
"id": 3,
"name": "source_id",
"type": "bucketeer.event.client.SourceId"
},
{
"id": 4,
"name": "user_count",
"type": "int64"
},
{
"id": 5,
"name": "request_count",
"type": "int64"
},
{
"id": 6,
"name": "evaluation_count",
"type": "int64"
},
{
"id": 7,
"name": "goal_count",
"type": "int64"
},
{
"id": 8,
"name": "is_all",
"type": "bool"
},
{
"id": 9,
"name": "is_finished",
"type": "bool"
},
{
"id": 10,
"name": "created_at",
"type": "int64"
},
{
"id": 11,
"name": "updated_at",
"type": "int64"
}
]
}
],
"imports": [
{
"path": "proto/event/client/event.proto"
}
],
"package": {
"name": "bucketeer.eventcounter"
},
"options": [
{
"name": "go_package",
"value": "github.com/bucketeer-io/bucketeer/proto/eventcounter"
}
]
}
},
{
"protopath": "eventcounter:/:service.proto",
"def": {
Expand Down Expand Up @@ -8946,6 +9031,24 @@
"type": "int64"
}
]
},
{
"name": "SummarizeMAUCountsRequest",
"fields": [
{
"id": 1,
"name": "year_month",
"type": "string"
},
{
"id": 2,
"name": "is_finish_day",
"type": "bool"
}
]
},
{
"name": "SummarizeMAUCountsResponse"
}
],
"services": [
Expand Down Expand Up @@ -8982,6 +9085,11 @@
"in_type": "GetMAUCountRequest",
"out_type": "GetMAUCountResponse"
},
{
"name": "SummarizeMAUCounts",
"in_type": "SummarizeMAUCountsRequest",
"out_type": "SummarizeMAUCountsResponse"
},
{
"name": "GetOpsEvaluationUserCount",
"in_type": "GetOpsEvaluationUserCountRequest",
Expand Down
1 change: 1 addition & 0 deletions ui/web-v2/apps/admin/src/proto/batch/service_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export interface BatchJobMap {
REDISCOUNTERDELETER: 7;
PROGRESSIVEROLLOUTWATCHER: 8;
EXPERIMENTCALCULATOR: 9;
MAUSUMMARIZER: 10;
}

export const BatchJob: BatchJobMap;
Expand Down
3 changes: 2 additions & 1 deletion ui/web-v2/apps/admin/src/proto/batch/service_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ proto.bucketeer.batch.BatchJob = {
DOMAINEVENTINFORMER: 6,
REDISCOUNTERDELETER: 7,
PROGRESSIVEROLLOUTWATCHER: 8,
EXPERIMENTCALCULATOR: 9
EXPERIMENTCALCULATOR: 9,
MAUSUMMARIZER: 10
};

goog.object.extend(exports, proto.bucketeer.batch);
66 changes: 66 additions & 0 deletions ui/web-v2/apps/admin/src/proto/eventcounter/mau_summary_pb.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// package: bucketeer.eventcounter
// file: proto/eventcounter/mau_summary.proto

import * as jspb from "google-protobuf";
import * as proto_event_client_event_pb from "../../proto/event/client/event_pb";

export class MAUSummary extends jspb.Message {
getYearmonth(): string;
setYearmonth(value: string): void;

getEnvironmentId(): string;
setEnvironmentId(value: string): void;

getSourceId(): proto_event_client_event_pb.SourceIdMap[keyof proto_event_client_event_pb.SourceIdMap];
setSourceId(value: proto_event_client_event_pb.SourceIdMap[keyof proto_event_client_event_pb.SourceIdMap]): void;

getUserCount(): number;
setUserCount(value: number): void;

getRequestCount(): number;
setRequestCount(value: number): void;

getEvaluationCount(): number;
setEvaluationCount(value: number): void;

getGoalCount(): number;
setGoalCount(value: number): void;

getIsAll(): boolean;
setIsAll(value: boolean): void;

getIsFinished(): boolean;
setIsFinished(value: boolean): void;

getCreatedAt(): number;
setCreatedAt(value: number): void;

getUpdatedAt(): number;
setUpdatedAt(value: number): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MAUSummary.AsObject;
static toObject(includeInstance: boolean, msg: MAUSummary): MAUSummary.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MAUSummary, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MAUSummary;
static deserializeBinaryFromReader(message: MAUSummary, reader: jspb.BinaryReader): MAUSummary;
}

export namespace MAUSummary {
export type AsObject = {
yearmonth: string,
environmentId: string,
sourceId: proto_event_client_event_pb.SourceIdMap[keyof proto_event_client_event_pb.SourceIdMap],
userCount: number,
requestCount: number,
evaluationCount: number,
goalCount: number,
isAll: boolean,
isFinished: boolean,
createdAt: number,
updatedAt: number,
}
}

0 comments on commit 27bde89

Please sign in to comment.