Skip to content

Commit

Permalink
feat: adding ndmp session rest template (#2531)
Browse files Browse the repository at this point in the history
* feat: adding ndmp session rest template

* feat: ndmp session rest
  • Loading branch information
Hardikl committed Feb 2, 2024
1 parent 4e1b7c9 commit c28bbef
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions conf/rest/9.7.0/ndmp_sessions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: NDMPSession
query: api/protocols/ndmp/sessions
object: ndmp_session

counters:
- ^^uuid => uuid
- ^backup_engine => backup_engine
- ^client_address => client_address
- ^client_port => client_port
- ^data.operation => operation
- ^data_path => data_path
- ^mover.mode => mode
- ^node.name => node
- ^source_address => source_address
- ^svm.name => svm
- ^tape_device => tape_device
- ^tape_mode => tape_mode
- data.bytes_processed => data_bytes_processed
- mover.bytes_moved => mover_bytes_moved


export_options:
include_all_labels: true
1 change: 1 addition & 0 deletions conf/rest/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ objects:
Lun: lun.yaml
# Mediator: mediator.yaml
Namespace: namespace.yaml
# NDMPSession: ndmp_sessions.yaml
# NetConnections: netconnections.yaml
# NetPort: netport.yaml
NetRoute: netroute.yaml
Expand Down
1 change: 1 addition & 0 deletions integration/test/dashboard_json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ var excludeCounters = []string{
"svm_write_total",
"change_log",
"nfs_clients_",
"ndmp_session_",
}

var flakyCounters = []string{
Expand Down

0 comments on commit c28bbef

Please sign in to comment.