vigil_reporter 1.0.0 copy "vigil_reporter: ^1.0.0" to clipboard
vigil_reporter: ^1.0.0 copied to clipboard

outdated

Vigil Reporter for Dart. Used in pair with Vigil, the Microservices Status Page.

Vigil Reporter #

pub package

Vigil Reporter for Dart. Used in pair with Vigil, the Microservices Status Page.

Vigil Reporter is used to actively submit health information to Vigil from your apps. Apps are best monitored via application probes, which are able to report detailed system information such as CPU and RAM load. This lets Vigil show if an application host system is under high load.

Import #

import 'package:vigil_reporter/vigil_reporter.dart';

Usage #

1. Create reporter #

vigil_reporter can be instantiated as such:

final reporter = VigilReporter(
  url: 'https://status.example.com',
  token: 'YOUR_TOKEN_SECRET',
  probeId: 'relay',
  nodeId: 'socket-client',
  replicaId: '192.168.1.10',
	interval: 30,
);

2. Teardown reporter #

If you need to teardown an active reporter, you can use the end(...) method to unbind it.

reporter.end(flush: true)
	.then(() { ... })
	.catch(() { ... });

What is Vigil? #

ℹ️ Wondering what Vigil is? Check out valeriansaliou/vigil.

2
likes
0
pub points
0%
popularity

Publisher

verified publisherjonasroussel.com

Vigil Reporter for Dart. Used in pair with Vigil, the Microservices Status Page.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http, system_resources

More

Packages that depend on vigil_reporter