frontend working with LB

This commit is contained in:
Ankit Nayan 2021-01-07 18:04:41 +05:30
parent d37b518da6
commit 61b3164d28
9 changed files with 14 additions and 13 deletions

View File

@ -16,6 +16,6 @@ dependencies:
version: 0.1.1
- name: frontend
repository: file://./signoz-charts/frontend
version: 0.1.4
digest: sha256:f29f2d0a5e58617075b0e1fd513bf7699138e20dfb94f1cddcfc8ff6a9bcb371
generated: "2021-01-02T01:14:15.321064+05:30"
version: 0.1.6
digest: sha256:1acfbd4b86e7ca6b70101f7dc3b2ab26aa5e72df2f454800f6dda7e645580978
generated: "2021-01-07T17:50:04.227534+05:30"

View File

@ -40,4 +40,4 @@ dependencies:
version: 0.1.1
- name: frontend
repository: "file://./signoz-charts/frontend"
version: 0.1.4
version: 0.1.6

View File

@ -14,8 +14,8 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.4
version: 0.1.6
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 0.1.4
appVersion: 0.1.6

View File

@ -12,6 +12,8 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
configVars: {}
config:
name: signoz-nginx-config
queryServiceUrl: signoz-query-service:8080

View File

@ -18,4 +18,4 @@ version: 0.1.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 0.1.1
appVersion: 0.1.2

View File

@ -35,7 +35,3 @@ query-service:
configVars:
DruidClientUrl: http://signoz-druid-router:8888
DruidDatasource: flattened_spans
frontend:
configVars:
REACT_APP_QUERY_SERVICE_URL: http://localhost:3000/api/v1/

3
frontend/.dockerignore Normal file
View File

@ -0,0 +1,3 @@
node_modules
.vscode
build

View File

@ -3,7 +3,7 @@ import axios from 'axios';
export default axios.create({
// baseURL: 'http://104.211.113.204:8080/api/v1/',
// baseURL: process.env.REACT_APP_QUERY_SERVICE_URL,
baseURL: process.env.REACT_APP_QUERY_SERVICE_URL + '/api/v1',
baseURL: 'api/v1/',
// console.log('in metrics API', process.env.QUERY_SERVICE_URL)
}
);

View File

@ -5,7 +5,7 @@ export default axios.create({
// baseURL: 'http://104.211.113.204:8080/api/v1/'
// baseURL: process.env.QUERY_SERVICE_URL,
// console.log('in traces API', process.env.QUERY_SERVICE_URL)
baseURL: process.env.REACT_APP_QUERY_SERVICE_URL + '/api/v1',
baseURL: 'api/v1/',
});