Skip to content
Closed
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
2 changes: 1 addition & 1 deletion services/observability/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0e64886dd0847341800d7191ed193b75413be998
1c36f3781c31a0e21c4588c7c4ec835d477d2f21
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class InstanceSensitiveData(BaseModel):
metrics_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="metricsUrl")
name: Optional[Annotated[str, Field(strict=True, max_length=300)]] = ""
otlp_grpc_traces_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="otlpGrpcTracesUrl")
otlp_http_logs_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="otlpHttpLogsUrl")
otlp_http_traces_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="otlpHttpTracesUrl")
otlp_traces_url: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="otlpTracesUrl")
plan: PlanModel
Expand Down Expand Up @@ -84,6 +85,7 @@ class InstanceSensitiveData(BaseModel):
"metricsUrl",
"name",
"otlpGrpcTracesUrl",
"otlpHttpLogsUrl",
"otlpHttpTracesUrl",
"otlpTracesUrl",
"plan",
Expand Down Expand Up @@ -170,6 +172,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"metricsUrl": obj.get("metricsUrl"),
"name": obj.get("name") if obj.get("name") is not None else "",
"otlpGrpcTracesUrl": obj.get("otlpGrpcTracesUrl"),
"otlpHttpLogsUrl": obj.get("otlpHttpLogsUrl"),
"otlpHttpTracesUrl": obj.get("otlpHttpTracesUrl"),
"otlpTracesUrl": obj.get("otlpTracesUrl"),
"plan": PlanModel.from_dict(obj["plan"]) if obj.get("plan") is not None else None,
Expand Down
Loading