Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jk/api-telemetry #7000

Merged
merged 1 commit into from
Dec 8, 2021
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
2 changes: 1 addition & 1 deletion components/server/ee/src/monitoring-endpoint-ee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class MonitoringEndpointsAppEE extends WorkspaceHealthMonitoring {
}
}

async function checkWorkspaceHealth(ctx: TraceContext, workspaceHealthMonitoring: WorkspaceHealthMonitoring, extra: boolean = false, ) {
async function checkWorkspaceHealth(ctx: TraceContext, workspaceHealthMonitoring: WorkspaceHealthMonitoring, extra: boolean = false) {
const span = TraceContext.startSpan("checkWorkspaceHealth", ctx);
const result = await workspaceHealthMonitoring.probeAllRunningWorkspaces({ span });
const numUnhealthy = result.map(r => r.ok ? 0 : 1).reduce((acc: number, cur: number) => acc + cur as number, 0);
Expand Down
2 changes: 1 addition & 1 deletion components/server/ee/src/workspace/gitpod-server-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ export class GitpodServerEEImpl extends GitpodServerImpl {
}

// TODO(gpl) This is not part of our API interface, nor can I find any clients. Remove or re-surrect?
// async getLicenseInfo(ctx: TraceContext, ): Promise<GetLicenseInfoResult> {
// async getLicenseInfo(ctx: TraceContext): Promise<GetLicenseInfoResult> {
// const user = this.checkAndBlockUser("getLicenseInfo");

// const { key } = await this.licenseKeySource.getKey();
Expand Down