Skip to content

Instantly share code, notes, and snippets.

@drscream
Created November 6, 2013 16:25
Show Gist options
  • Save drscream/7339233 to your computer and use it in GitHub Desktop.
Save drscream/7339233 to your computer and use it in GitHub Desktop.
Couldn't find matching metrics: TransportError(400, u'IndexAlreadyExistsException[[graphite_metrics] already exists]')
Traceback (most recent call last):
File "/opt/graph-explorer/app.py", line 400, in render_graphs
(query, targets_matching) = s_metrics.matching(query)
File "/opt/graph-explorer/structured_metrics/__init__.py", line 307, in matching
self.assure_index()
File "/opt/graph-explorer/structured_metrics/__init__.py", line 172, in assure_index
self.es.indices.create(index='graphite_metrics', body=body)
File "/opt/graph-explorer/structured_metrics/elasticsearch-py/elasticsearch/client/utils.py", line 70, in _wrapped
return func(*args, params=params, **kwargs)
File "/opt/graph-explorer/structured_metrics/elasticsearch-py/elasticsearch/client/indices.py", line 76, in create
params=params, body=body)
File "/opt/graph-explorer/structured_metrics/elasticsearch-py/elasticsearch/transport.py", line 223, in perform_request
status, raw_data = connection.perform_request(method, url, params, body, ignore=ignore)
File "/opt/graph-explorer/structured_metrics/elasticsearch-py/elasticsearch/connection/http_urllib3.py", line 53, in perform_request
self._raise_error(response.status, raw_data)
File "/opt/graph-explorer/structured_metrics/elasticsearch-py/elasticsearch/connection/base.py", line 82, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
TransportError: TransportError(400, u'IndexAlreadyExistsException[[graphite_metrics] already exists]')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment