aboutsummaryrefslogtreecommitdiffstats
path: root/service-monitor
Commit message (Collapse)AuthorAgeFilesLines
* Use thread pool for health monitoring in service-monitorHåkon Hallingstad2018-12-1732-539/+1231
| | | | | This is necessary to avoid using too many threads when monitoring the host-admin on the tenant Docker hosts.
* Monitor health of host infra applicationsHåkon Hallingstad2018-12-087-26/+135
|
* Simplify infrastructure applicationsHåkon Hallingstad2018-12-0716-156/+168
|
* Remove infra app from duper model only if it is supposed to be in duper modelHåkon Hallingstad2018-12-073-8/+15
|
* Make service monitors aware of infra applications in duper model.Håkon Hallingstad2018-12-0659-574/+772
| | | | | | | | | | | | | | | - Notify monitors of infrastructure application activation. Live-flipping the content of the duper model is non-trivial and has been removed. - Split out DuperModel as a simple mutable and thread-unsafe container of the applications in the duper model, that also handles calls listeners on changes. The previous DuperModel has been renamed to DuperModelManager. - Replace SuperModelProvider::snapshot method (fast but difficult to use right) with registerListener. - Shorten the fully qualified package names by 1-2 levels for mosts classes. Next steps: - Make HA query the real orchestrator - Start experimenting with health monitoring of infra apps
* Use config server from ConfigserverConfig in DuperModel for controllerHåkon Hallingstad2018-12-033-35/+62
|
* Revert "Revert "Add infrastructure applications to DuperModel""Håkon Hallingstad2018-12-0325-217/+474
|
* Revert "Add infrastructure applications to DuperModel"Harald Musum2018-12-0325-474/+217
|
* Fixes after review roundHåkon Hallingstad2018-12-031-1/+1
|
* Add infrastructure applications to DuperModelHåkon Hallingstad2018-11-3025-217/+474
| | | | | | | | | | | | | | | | | | | | | | | DuperModel is (will be) responsible for both active tenant applications (through SuperModel) and infrastructure applications. This PR is one step in that direction: - All infrastructure applications (config, confighost, controller, controllerhost, and proxyhost) are owned and managed by DuperModel. - The InfrastructureProvisioner retrieves all possible infra apps from the DuperModel (through a reduced API), and "activates" each of them if target is set and there are any nodes etc. - The InfrastructureProvisioner then notifies the DuperModel which apps have been activated, and with which hosts. - The DuperModel can then build delegate artificially create ApplicationInfo, which gets translated into the application model, and finally the service model. - The resulting service model has NOT_CHECKED for each hostadmin service instance. This is sufficient for goal 1 of this sprint. - The config server application currently has health, so that's kept as-is for now. - Feature flags have been tried and works and allows 1. to disable adding the infra apps in the DuperModel, and 2. to enable the infra configserver instead of the currently created configserver w/health.
* CleanupHarald Musum2018-11-201-1/+1
|
* Use simpler map for modelsHarald Musum2018-11-051-6/+3
| | | | | Need to keep old constructor and make a temporary one with an ignored argument to make this work (since arguments will be equal due to type erasure)
* Inject Zone and remove unused methodHarald Musum2018-10-281-2/+2
|
* Add controller-host applicationMartin Polden2018-10-031-0/+18
|
* Allocate nodes of type controller to controller appMartin Polden2018-09-192-0/+24
|
* Simplify HealthClient by using ServiceIdentitySslSocketFactoryBjørn Christian Seime2018-08-146-72/+14
|
* Fixes after review roundHåkon Hallingstad2018-06-135-11/+11
|
* Monitor cfg app health if activatedHåkon Hallingstad2018-06-1311-118/+560
|
* Fix testHåkon Hallingstad2018-06-081-1/+1
|
* Single-tenancy has config server as part of application modelHåkon Hallingstad2018-06-086-9/+34
|
* Revert "Revert "Use HTTP and remove Athenz injection""Håkon Hallingstad2018-06-0834-418/+1255
|
* Revert "Always enable synthetic config server app in service monitor"Håkon Hallingstad2018-06-061-3/+8
|
* Revert "Use HTTP and remove Athenz injection"Håkon Hallingstad2018-06-0634-1255/+413
|
* Wrap immutable List in unmodifiableListHåkon Hallingstad2018-06-061-1/+3
|
* Use HTTP and remove Athenz injectionHåkon Hallingstad2018-06-0611-132/+73
|
* Revert "Revert "Make health client wo using it""Håkon Hallingstad2018-06-0534-394/+1293
|
* Always enable synthetic config server app in service monitorHåkon Hallingstad2018-06-051-8/+3
|
* Revert "Make health client wo using it"Harald Musum2018-05-3134-1295/+399
|
* Use ConfigServerUtil and fix copyrightHåkon Hallingstad2018-05-313-19/+4
|
* Make health client wo using itHåkon Hallingstad2018-05-3134-398/+1309
| | | | | | | | | | | | | | | | | | | | | This PR should not have any functional changes. - Make a synthetic ApplicationInfo for the config server and "activate" it during bootstrap. - Make an ApplicationInstanceGenerator that converts an ApplicationInfo to an ApplicationInstance. Used by ModelGenerator. - Make a "DuperModel" that combines the SuperModel (deployed apps) with the set of synthetic apps. - Prefer health over Slobrok service status, if available (!= NOT_CHECKED). Health monitoring is structured as: - A manager responsible for adding and removing applications - An ApplicationHealthMonitor responsible for all monitoring for a given app - A HealthMonitor responsible for monitoring the health of a single service - A HealthClient responsible for issuing health requests to fixed endpoint Some of the lower-level health monitoring is not entirely finished, as it depends on refactoring of an athenz dependency tbd later.
* [service-monitor] Make it easier to add synthesized appsHåkon Hallingstad2018-05-2418-216/+294
|
* Do not set cluster groupValerij Fredriksen2018-05-041-9/+3
|
* Add ExportPackage for applicationValerij Fredriksen2018-04-201-0/+8
|
* Always use cluster group 0Valerij Fredriksen2018-04-205-8/+7
|
* Make variables private, add gettersValerij Fredriksen2018-04-202-8/+19
|
* Move application out of internalValerij Fredriksen2018-04-2012-12/+12
|
* Define infrastructure applicationsValerij Fredriksen2018-04-2012-14/+134
|
* filedistributorservice does not exist anymoreHarald Musum2018-03-101-1/+0
|
* Constructor needs to be publicHarald Musum2018-02-261-1/+1
|
* Refer to HealthMonitorManager in services.xmlHåkon Hallingstad2018-02-261-0/+2
|
* Support reporting UP for node admin outside zone appHåkon Hallingstad2018-02-2613-48/+289
| | | | | | | | | If the nodeAdminInContainer ConfigserverConfig has been set, with this PR, the service monitor will always report the node admin container service as UP, thereby avoiding issues related to standalone node admin seemingly being down when not running as part of the application. This postpones checking /status/v1/health for later.
* Use no_aop classifier for guice.gjoranv2017-12-011-0/+1
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-12-011-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent2"gjoranv2017-11-301-2/+0
|
* Use no_aop classifier for guice.gjoranv2017-11-301-0/+1
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-301-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Revert "Gjoranv/split parent"gjoranv2017-11-291-2/+0
|
* Use no_aop classifier for guice.gjoranv2017-11-291-0/+1
|
* Split parent + container-dependency-versions from root pom.gjoranv2017-11-291-0/+1
| | | | | | - Add missing dependencies so that all provided non-yahoo jars are listed in container-dependency-versions. - Add relativePath for all child poms of parent.
* Initialize super model in startHåkon Hallingstad2017-11-031-5/+4
|