You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ta...@apache.org on 2018/12/18 03:21:34 UTC

[incubator-skywalking] branch master updated: Sync settings (#2063)

This is an automated email from the ASF dual-hosted git repository.

tanjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 659fdd4  Sync settings (#2063)
659fdd4 is described below

commit 659fdd4425c3fd47626446ec9dcd882812128fb2
Author: Jared Tan <ji...@daocloud.io>
AuthorDate: Tue Dec 18 11:21:30 2018 +0800

    Sync settings (#2063)
    
    * sync settings file
    
    * add mysql
---
 docker/config/application.yml                |  1 +
 docker/config/datasource-settings.properties | 31 ++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/docker/config/application.yml b/docker/config/application.yml
index dbdabdc..842b142 100644
--- a/docker/config/application.yml
+++ b/docker/config/application.yml
@@ -65,6 +65,7 @@ storage:
 #    driver: ${SW_STORAGE_H2_DRIVER:org.h2.jdbcx.JdbcDataSource}
 #    url: ${SW_STORAGE_H2_URL:jdbc:h2:mem:skywalking-oap-db}
 #    user: ${SW_STORAGE_H2_USER:sa}
+#  mysql:
 receiver-register:
   default:
 receiver-trace:
diff --git a/docker/config/datasource-settings.properties b/docker/config/datasource-settings.properties
new file mode 100644
index 0000000..70b0099
--- /dev/null
+++ b/docker/config/datasource-settings.properties
@@ -0,0 +1,31 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+jdbcUrl=jdbc:mysql://localhost:3306/swtest
+dataSource.user=root
+dataSource.password=root@1234
+dataSource.cachePrepStmts=true
+dataSource.prepStmtCacheSize=250
+dataSource.prepStmtCacheSqlLimit=2048
+dataSource.useServerPrepStmts=true
+dataSource.useLocalSessionState=true
+dataSource.rewriteBatchedStatements=true
+dataSource.cacheResultSetMetadata=true
+dataSource.cacheServerConfiguration=true
+dataSource.elideSetAutoCommits=true
+dataSource.maintainTimeStats=false
\ No newline at end of file