]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/monitor.service.ts
import 15.2.4
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / api / monitor.service.ts
CommitLineData
11fdf7f2
TL
1import { HttpClient } from '@angular/common/http';
2import { Injectable } from '@angular/core';
3
4import { ApiModule } from './api.module';
5
6@Injectable({
7 providedIn: ApiModule
8})
9export class MonitorService {
10 constructor(private http: HttpClient) {}
11
12 getMonitor() {
13 return this.http.get('api/monitor');
14 }
15}