feat(fleet): show instance resource metrics
This commit is contained in:
@@ -68,8 +68,11 @@ const origin = (raw: string): URL => {
|
||||
};
|
||||
export class SafeInstanceTransport {
|
||||
constructor(private readonly options: SafeTransportOptions) {}
|
||||
async get(raw: string): Promise<TransportResponse> {
|
||||
return this.send({ url: raw, method: 'GET', headers: {} });
|
||||
async get(
|
||||
raw: string,
|
||||
headers: Readonly<Record<string, string>> = {},
|
||||
): Promise<TransportResponse> {
|
||||
return this.send({ url: raw, method: 'GET', headers });
|
||||
}
|
||||
async post(
|
||||
raw: string,
|
||||
|
||||
Reference in New Issue
Block a user