Skip to content

Commit

Permalink
[CPCLOUD-4535] Update API host and path
Browse files Browse the repository at this point in the history
  • Loading branch information
skafandri committed Oct 24, 2024
1 parent 0f349b6 commit d0eab1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent360/agent360.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ def _config_init(self):
'subprocess': 'no',
'user': '',
'server': '',
'api_host': 'ingest.monitoring360.io',
'hello_api_host': 'api.monitoring360.io',
'ingest_api_host': 'ingest.monitoring360.io',
'api_path': '/v2/server/poll',
'log_file': '/var/log/agent360.log',
'log_file_mode': 'a',
Expand Down Expand Up @@ -520,7 +520,7 @@ def _data(self):
Take and collect data, send and clean if needed
'''
logging.info('%s', threading.currentThread())
api_host = self.config.get('data', 'ingest_api_host')
api_host = self.config.get('data', 'api_host')
api_path = self.config.get('data', 'api_path')
max_age = self.config.getint('agent', 'max_data_age')
max_span = self.config.getint('agent', 'max_data_span')
Expand Down

0 comments on commit d0eab1a

Please sign in to comment.