彭勇升 pengys
63fb961c0d
New OAP annotations, they are friendly for streaming loader. ( #2670 )
...
* New stream annotation.
- Inventory annotation example:
@Stream(name = ServiceInventory.INDEX_NAME, scopeId = DefaultScopeDefine.SERVICE_INVENTORY, storage = @Storage(builder = ServiceInventory.Builder.class, deleteHistory = false), kind = StreamKind.Inventory)
- Metrics annotation example:
@Stream(name = ServiceRelationClientSideMetrics.INDEX_NAME, scopeId = DefaultScopeDefine.SERVICE_RELATION, storage = @Storage(builder = ServiceRelationClientSideMetrics.Builder.class), kind = StreamKind.Metrics)
- Record annotation example:
@Stream(name = SegmentRecord.INDEX_NAME, scopeId = DefaultScopeDefine.SEGMENT, storage = @Storage(builder = SegmentRecord.Builder.class), kind = StreamKind.Record)
- TopN annotation example:
@Stream(name = TopNDatabaseStatement.INDEX_NAME, scopeId = DefaultScopeDefine.DATABASE_SLOW_STATEMENT, storage = @Storage(builder = TopNDatabaseStatement.Builder.class), kind = StreamKind.TopN)
* no message
* Stream annotation finish.
* Make stream processors to be the singleton class.
* Fixed the compile errors.
* Modify the OAL module for this annotation refactor.
* Add apache license header.
* Duplicate import.
* Fixed check style error.
2019-05-15 22:42:38 +08:00
彭勇升 pengys
ed78dabe8b
Rename metric and indicator to metrics. ( #2643 )
...
* Rename metric to metrics.
* Fixed test case execute failure issues.
2019-05-10 08:05:37 +08:00
Ming Deng
4b19bd77cf
add unit tests for alarm-plugin module ( #2542 )
2019-04-30 21:46:23 +08:00
吴晟 Wu Sheng
9b87086d72
Move to 6.2 ( #2563 )
...
* Move submodule plugin.
* Always auto-submodule
* [maven-release-plugin] prepare release v6.1.0
* [maven-release-plugin] prepare for next development iteration
* Change keys location.
2019-04-30 12:16:50 +08:00
吴晟 Wu Sheng
975a06d163
Add catalog to ScopeDeclaration annotation. Make the alarm adapt to it. Now more metric could go through alarm, such as JVM, CLR. ( #2391 )
2019-03-21 18:38:32 +08:00
吴晟 Wu Sheng
fb62025da8
Improve OAP extendibility ( #2288 )
...
* Make scope meta configurable.
* Fix test cases in ci.
* Change step 1
* Refactor step 2
* Other compile issue done. Prepare the generator changes.
* Revert some wrong changes to Istio receiver.
* Step 3, make compile pass.
* Try to make CI passed.
* Add a check.
* Fix generated code style
* Provide new and extendable dispatcher generator tool
* Fix startup.
* Can't guarantee the dispatchers are always existing. Put explicit comments at there to avoid confusion, since this is different with old version.
* Fix a H2 query for endpoint search.
* Fix a wrong mysql alarm query.
* Provide new document and `generate-tool-grammer` module.
* Add missing last section of document.
* Fix typo
* Relocate the @ScopeDeclaration annotation, make it more sense. Also remove the useless @SourceType annotation. And adjust document for these changes
* ScopeDeclaration can be used once for each class only, now.
2019-02-26 13:43:14 +08:00
吴晟 Wu Sheng
5a7eb5656a
GA tagged, move to 6.1 ( #2180 )
...
* [maven-release-plugin] prepare release v6.0.0-GA
* [maven-release-plugin] prepare for next development iteration
2019-01-18 20:04:23 +08:00
吴晟 Wu Sheng
95214aecf3
update version for next iteration. ( #2084 )
2018-12-23 09:14:14 +08:00
吴晟 Wu Sheng
5f5be77601
Fix the alarm being started too many times. ( #2003 )
...
* Fix the alarm being started too many times.
* Remove unnecessary interface.
* Fix wrong status changed
2018-12-05 20:56:08 +08:00
吴晟 Wu Sheng
2d8f390351
Make endpoint and instance alarm active ( #1987 )
...
* Support alarm in service instance and endpoint.
* Fix alarm default settings and document.
* Fix wrong default setting
* Make service instance and endpoint scopes available in alarm core.
* Fix alarm bug.
2018-12-01 14:18:31 +08:00
吴晟 Wu Sheng
72a39e1f28
Sync 6.0.0-alpha release and version up to beta. ( #1883 )
...
* Lock oracle and resin plugins version.
* Move resin and oracle plugin to openskywalking
* Restore submodule active.
* Add another submodule active command.
* Remove the wrong test cases in release and fix some doc issues.
* [maven-release-plugin] prepare release v6.0.0-alpha
* [maven-release-plugin] prepare for next development iteration
* Fix some doc
2018-11-06 15:45:15 +08:00
Jared.Tan
7537af0598
Fix the test case. ( #1879 )
2018-11-06 09:21:35 +08:00
吴晟 Wu Sheng
8cd327d8bb
Revert #1790 reset feature and provide default alarm settings. ( #1833 )
...
* Revert reset feature.
* Set default dist alarm settings and make dist package setting files right.
* Support empty list.
2018-10-28 22:28:21 +08:00
彭勇升 pengys
7c192b19d6
Alarm query and alarm persistence test. ( #1753 )
...
* Alarm query and alarm persistence test.
* Fixed the package error.
2018-10-11 15:55:04 +08:00
吴晟 Wu Sheng
3f8af95df0
Alarm silence init wrong. ( #1752 )
2018-10-11 10:38:52 +08:00
彭勇升 pengys
ef63bc63cb
The heartbeat implementation for all the scopes. ( #1742 )
2018-10-10 16:25:50 +08:00
吴晟 Wu Sheng
b643190005
Add alarm timestamp. ( #1741 )
2018-10-10 14:15:24 +08:00
吴晟 Wu Sheng
933ae20b1c
Alarm module code core ready ( #1644 )
...
* Support alarm message.
* Fix document words.
* Support alarm hook.
* Fix javadoc issue.
* Sync submodule
* Sync submodule
2018-09-25 20:23:36 +08:00
吴晟 Wu Sheng
fd83aa55af
Support new indicator core. ( #1669 )
...
* Support new indicator core.
* Block 2 unaccessible methods.
* Add service call as manual indicator and refactor the core DIspatcherManager
2018-09-13 16:38:50 +08:00
吴晟 Wu Sheng
973ad9e35d
Support time bucket transfer for all indicators. ( #1664 )
...
* Add transfer time bucket methods.
* prepare to merge
* Support time bucket transfer.
2018-09-12 18:44:13 +08:00
彭勇升 pengys
f75270b43a
v6 startup successful. ( #1625 )
...
* Fixed the startup failure cause by query protocol.
* Fixed the bug of startup failure.
2018-09-04 21:41:13 +08:00
Wu Sheng
1f2a6f2277
Move count and silenceCount into window.
2018-09-03 16:42:18 +08:00
Wu Sheng
6d74e7829c
Fix CI and release guide.
2018-08-31 22:57:19 +08:00
Wu Sheng
fff7401283
Fix alarm issues.
2018-08-31 22:52:00 +08:00
Wu Sheng
4559c49e86
Change alarm notification to batch mode.
2018-08-31 20:01:01 +08:00
Wu Sheng
b5378e757b
Add optional test case for Alarm core. Wouldn't execute in CI.
2018-08-30 23:02:40 +08:00
Wu Sheng
15ed4e7ecd
Fix CI
2018-08-30 17:19:35 +08:00
Wu Sheng
90c30d4728
Remove useless method.
2018-08-30 17:14:33 +08:00
Wu Sheng
7bbbe261cb
Finish alarm core test.
2018-08-30 17:11:14 +08:00
Wu Sheng
085097531c
Finish the codebase of Alarm.
2018-08-29 22:24:31 +08:00