]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/monitor.service.ts
import ceph 16.2.6
[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
11fdf7f2 4@Injectable({
f67539c2 5 providedIn: 'root'
11fdf7f2
TL
6})
7export class MonitorService {
8 constructor(private http: HttpClient) {}
9
10 getMonitor() {
11 return this.http.get('api/monitor');
12 }
13}