#Monitoring
#Monitoring using Metrics
UniConfig exposes multiple metrics for traffic and performance monitoring.
Output is generated in plaintext format:
- Plaintext response output from actuator/prometheus endpoint.
#Types of metrics
- Gauge - Reports the instantaneous value at a point in time (for example, queue size).
- Counter - Measures the total count for event occurrences.
#List of notable metrics exposed by UniConfig
- Gauges
io.frinx.uniconfig.manager.impl.task.TaskExecutorImpl.queue_size
- Number of tasks in the queue waiting for executionorg.apache.sshd.server.SshServer.active_sessions
- Number of active CLI sessionsorg.opendaylight.controller.uniconfig.transaction.manager.api.UniconfigTransactionManager.open_transaction_count
- Number of open transactions
- Counters
org.opendaylight.yangtools.yang.common.RpcResult.rpc_invoke
- All RPCs invoked by UniConfigorg.opendaylight.controller.uniconfig.transaction.manager.impl.UniconfigTransactionManagerImpl.transaction_invoke
- All transactions invoked in UniConfigio.frinx.uniconfig.shell.cli.SshTerminal.cli_message
- All commands invoked in UniConfig shell
#Configuration
Configuration is performed via a section in the application.properties file:
#Example output
- example prometheus endpoint output, http://127.0.0.1:8181/actuator/prometheus: