zhang-wei
3741f4e386
[Feature] Service instance dependency ( #3978 )
...
* dispatcher
* getServiceInstanceTopology implementation
* CacheUpdateTimer
* fix compilation failure
* fix compilation failure
* fix esDao
* Update dao list
* dispatcher
* getServiceInstanceTopology implementation
* CacheUpdateTimer
* fix compilation failure
* fix compilation failure
* fix esDao
* Update dao list
* test e2e
* add official_analysis.oal & update getServiceInstanceTopology
* test instance topo for single service
* fix gql
* fix verifyServiceInstances
* verifyServiceInstanceTopo
* fix verifyServiceInstanceTopo
* fix ServiceInstanceInventory#name
* fix ServiceInstanceInventory#name
* e2e test
* fix action
* fix provider port
* fix Instance Node Type
* re run
* fix expected-data
* add e2e mysql
* set @Test timeout
* fix ci
* increase timeout
* re check
* test ttl es7
* test ttl
* fix action
* merge group
* test ttl es7
* replace official_analysis.oal
* replace official_analysis.oal
* comments
* add TODO
* add TODO
* fix filed name
2019-12-09 08:23:21 +08:00
kezhenxu94
aa022ffa00
Remove unused ES7 config ( #3998 )
2019-12-04 00:20:10 +08:00
Jared Tan
d581f2294f
Support custom elasticsearch settings in index level. ( #3913 )
2019-11-21 22:30:59 +08:00
kezhenxu94
9b408e82d5
[Feature] Support ElasticSearch 7 as backend storage ( #3870 )
...
* [Feature] Officially support ElasticSearch 7 as backend storage
* Extract bootstrap module to be shared by multiple starters
* Add missing configuration file and distinguish different version in test
* Update known-oap-backend-dependencies-es7.txt
Update the dependency lib
* Fix missing adaptation to ElasticSearch 7
* Rename ElasticSearch 7 specific class with Es7 infix
* Fix miss-adapted ElasticSearch DAO API
* Add ES7 specific configuration and polish documentations
* Polish documentations
* Polish documentations
2019-11-21 09:26:23 +08:00
吴晟 Wu Sheng
3fbaec42dc
Move to 6.6.0 SNAPSHOT ( #3839 )
...
* [maven-release-plugin] prepare release v6.5.0
* [maven-release-plugin] prepare for next development iteration
2019-11-12 22:33:39 +08:00
Jared Tan
fbabcb1782
make query max window size configurable. ( #3765 )
...
* fix elasticsearch query data window size too large error.
* make query max window size configurable.
2019-11-01 16:02:06 +05:30
吴晟 Wu Sheng
e9b404f1fa
Remove two max size 500 limit. ( #3748 )
2019-10-30 18:34:33 +05:30
Jared Tan
852f03d1db
remove unused time range query parameter. ( #3730 )
2019-10-28 22:21:54 +08:00
Kdump
c0be757f43
add graphql getServiceInstance instanceUUID field. ( #3595 )
...
* add graphql getServiceInstance instanceUUID field.
* add graphql getServiceInstance instanceUUID field.
* add graphql getServiceInstance instanceUUID field.
* sync query-protocol repo
* add instanceUUID field e2e
* add instanceUUID field e2e
* add instanceUUID field e2e
* add instanceUUID field e2e
2019-10-17 06:38:00 +03:00
panjuan
fb001867e5
Instead of datasource-settings.properties, use application.yml for MySQLStorageProvider ( #3564 )
...
* Is it a typo or not?
* delete datasource-settings.properties
* handle 'metadataQueryMaxSize'
* delete DynamicModuleConfig.java
* modify mysql config
* parsing yaml to support the configuration for multiple properties
* delete datasource-settings.properties
* modify doc
* add properties for docker-entrypoint.sh
* add testLoadConfig()
2019-10-12 20:47:38 +08:00
吴晟 Wu Sheng
6942ec8fcf
Language of instance could be NULL ( #3485 )
...
* Language of instance could be NULL
* Fix style check.
* Fix duplicated test cases.
2019-09-19 00:23:11 +08:00
Jared Tan
6c347a1169
agent support custom properties. ( #3367 )
...
* agent support custom properties.
2019-09-17 14:44:42 +08:00
吴晟 Wu Sheng
ce20fe107d
Move to 6.5.0 ( #3439 )
...
* [maven-release-plugin] prepare release v6.4.0
* [maven-release-plugin] prepare for next development iteration
2019-09-08 16:24:21 -07:00
Jared Tan
dbbf22a177
support es https ssl config. ( #3370 )
...
* support es https ssl config.
* update
* update docs.
* refactoring var name.
* fix
* update docs.
* add config in es section.
* fix logical.
2019-09-02 11:15:43 +08:00
Jared Tan
cadaab03ae
set alarm record ordered by start time desc. ( #3353 )
2019-08-28 09:56:55 +08:00
彭勇升 pengys
3264fd4e31
Fixed #3328 , keyword data type is not long enough for saving PXX metrics. ( #3332 )
2019-08-26 16:33:55 +08:00
webb2019
429c9b3c9c
Data binary limit ( #3321 )
...
* fix "DATA_BINARY" limit VARCHAR(20000)
2019-08-26 09:40:37 +08:00
吴晟 Wu Sheng
dc0f6530cb
Fix TTL issue. ( #3292 )
...
* Fix TTL issue.
* Fix issue.
* Rename `getSecondTimeBucket` to `getRecordTimeBucket`.
2019-08-20 15:36:31 +08:00
吴晟 Wu Sheng
8888029e9a
Module config set override is not working ( #3283 )
...
* set Override is not working.
* Submodule update
* Add header.
2019-08-17 10:10:30 +08:00
kezhenxu94
db9759fcc2
Check license header strictly ( #3274 )
...
* Check license header strictly
* Ignore header template
* Include more files to check list
2019-08-16 14:37:44 +08:00
Jared Tan
02affffa50
support elasticsearch address configuration with http scheme. ( #3236 )
...
* support elasticsearch address configuration with http scheme.
* update logical.
2019-08-09 19:15:04 +08:00
吴晟 Wu Sheng
0df76e4e38
Remove the scope-meta file ( #3226 )
...
* Remove the meta file
2019-08-07 17:35:12 +08:00
吴晟 Wu Sheng
b247dc979e
Move project master branch to 6.4.0-SNAPSHOT ( #3220 )
...
* [maven-release-plugin] prepare release v6.3.0
* [maven-release-plugin] prepare for next development iteration
2019-08-05 21:19:17 +08:00
kezhenxu94
e8f94d55c3
Fix bug: NetworkAddressInventory uses wrong builder to convert data ( #3183 )
2019-07-29 14:07:37 +08:00
彭勇升 pengys
16b8236506
1. All the inventories add last_update_time attribute, delete the mapping_last_update_time attribute in service inventory. ( #3168 )
...
2. Fixed the service inventory and net address inventory update bugs.
2019-07-26 14:02:27 +08:00
彭勇升 pengys
f658d9eb4d
Simplify the PxxMetrics and ThermodynamicMetrics to improve performance ( #3162 )
...
* Feature of database session
* Make it configurable.
* Change the metrics process flow.
before: metrics entrance -> aggregate worker -> remote worker -> trans worker -> minute, hour, day, month persistence worker -> storage
after: metrics entrance -> aggregate worker -> remote worker -> minute persistence worker -> trans worker -> hour, day, month persistence worker -> storage
* IntKeyLongValueHashMap instead of IntKeyLongValueArray.
* Make the OAP server can't startup.
* Finish
* Rename the method and fixed some test case issues.
* Rename field.
* no message
2019-07-25 19:08:36 +08:00
彭勇升 pengys
8d234a91e5
Feature of database session in OAP server. ( #3147 )
...
* Feature of database session
* Make it configurable.
* Make the OAP server can't startup.
2019-07-24 13:43:19 +08:00
彭勇升 pengys
8306ad4531
Reduce the number of threads to improve performance. ( #3133 )
...
* Refactor Persistence worker.
* 1. Provide InsertRequest and UpdateRequest interface for prepare persistence.
2. Implement the ids query for H2 metrics DAO.
* Refactor worker framework
* Use queue to receive asynchronous batch request.
* Rename the Datacarrier thread name.
* Fixed some mistake.
* New mistake.
2019-07-21 15:51:24 +08:00
吴晟 Wu Sheng
ab9bc9226b
Fix H2 metrics read bug, can't read expected existing metrics. ( #3132 )
...
Make agent mock works as usual.
2019-07-21 15:07:35 +08:00
彭勇升 pengys
594994ffae
1. Provide InsertRequest and UpdateRequest interface for prepare persistence. ( #3131 )
...
2. Implement the ids query for H2 metrics DAO.
2019-07-21 13:56:12 +08:00
彭勇升 pengys
6338de392f
Improve OAP server performance. ( #3127 )
...
* Improve OAP server performance.
2019-07-20 22:59:52 +08:00
彭勇升 pengys
ed507b78ef
Dirty-Read in concurrency ( #3117 )
...
* Fixed the problem of dirty reading of the storage implementation of elasticsearch.
* Fixed a mistake.
2019-07-19 14:22:01 +08:00
kezhenxu94
4db1773d3e
Fix wrong logger names ( #3075 )
...
* Fix wrong logger name
* Fix more wrong logger names in agent side
2019-07-15 00:35:15 +08:00
zhangwei
deb2d90029
fix deleteIndex repeat append namespace ( #3017 )
...
* fix deleteIndex repeat append namespace
* fix deleteIndex repeat append namespace
* fix checkStyle
* fix
* fix test assert
* update test method name
* fix test
* fix
* del elastic.search.namespace
* fix check style
* update ITElasticSearchNamespaceClient to ITElasticSearchClientOfNamespace
* move undoFormatIndexName to ITElasticSearchClien
* move #getIndex to ITElasticSearchClient
* add deleteByModelName and deleteByIndexName
* add deleteByModelName and deleteByIndexName
* revert ITElasticSearchClient#getIndex
* Use whitebox get from powermock to get this.
* undo namespacePrefix
2019-07-12 07:53:11 +09:00
吴晟 Wu Sheng
4faa950c14
Move master to 6.3.0 ( #2968 )
...
* [maven-release-plugin] prepare release v6.2.0
* [maven-release-plugin] prepare for next development iteration
2019-06-29 13:49:36 +08:00
daming
6827839c21
typo ( #2960 )
2019-06-27 19:34:17 +08:00
daming
1e584ddf50
fix missed condition in H2LogQueryDAO ( #2947 )
...
* fix missed condition
* fix missed condition
* fix missed condition
2019-06-26 15:23:02 +08:00
彭勇升 pengys
dea6cfb010
Change the statement column type from Keyword to Text. ( #2944 )
...
* Use ids query method instead of get method for metrics persistence.
#2933
* Query by alias name.
* #2943
Change the statement column type from Keyword to Text.
2019-06-25 17:55:12 +08:00
彭勇升 pengys
129d2918ac
Use ids query method instead of get method for metrics persistence. ( #2934 )
...
* Use ids query method instead of get method for metrics persistence.
#2933
* Query by alias name.
2019-06-23 16:53:45 +08:00
彭勇升 pengys
70064f47cb
Use the ids query method instead of get method. ( #2887 )
...
#2886
2019-06-17 12:05:21 +08:00
彭勇升 pengys
4e63331d35
#2860 ( #2861 )
...
Get the document by index name.
2019-06-12 18:56:11 +08:00
吴晟 Wu Sheng
dbb8bd8a7f
Fix wrong query condition ( #2858 )
2019-06-12 17:17:15 +08:00
彭勇升 pengys
1f7125a02e
Remove storage annotation. ( #2813 )
2019-06-04 09:53:50 +08:00
彭勇升 pengys
5036e83343
Good news of an important feature: time series implementation in Elasticsearch storage. ( #2808 )
...
* The new feature of Elasticsearch storage with the time series implementation.
* Time bucket util improve.
* Fixed some Gramma error.
* Update ttl.md
Polish English a little.
* Update ttl.md
Add more explicit description of TTL
* Update ttl.md
* Update StorageModuleElasticsearchConfig.java
Set otherMetricsDataTTL = 0 as default, make user more clear.
* Rename the timeSeriesAble to capableOfTimeSeries
* Fixed a test case failure.
2019-06-03 18:46:42 +08:00
彭勇升 pengys
de46ee62d3
Make the step just to be the graphql java object. ( #2792 )
...
* Make the step just to be the graphql java object.
* Mistake.
2019-05-31 13:16:59 +08:00
吴晟 Wu Sheng
595498e787
New topology query protocol implementation ( #2654 )
...
* Make backend fits new topology query protocol and logic.
* Change topology line id.
* Change endpoint point id rule to match service relation id rule.
* Refactor util.
* Revert wrong refactor by IDEA.
* Revert some changes.
* Fix entity id bug.
* Fix endpoint topology query
* Update UI.
* UI license update.
2019-05-21 14:50:29 +08:00
彭勇升 pengys
4eb5def126
Manage models in one place. ( #2695 )
2019-05-17 00:33:29 +08:00
彭勇升 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
118485fbb7
Make the elasticsearch json object build to be a public method. ( #2648 )
2019-05-10 12:43:17 +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