Re: [Graphite-dev] [Question #692978]: table "django_content_type" already exists

2020-09-17 Thread Denis Zhdanov
Question #692978 on Graphite changed:
https://answers.launchpad.net/graphite/+question/692978

Denis Zhdanov posted a new comment:
I would say it's not only Graphite but Django problem. 0.9.15 was probably 
running on Django 1.4, and you're trying running 1.1.7 on 3.0.x (?), It's 
jumping over 2 major Django and 2 major Graphite versions - quite bold move 
IMO, over 8 years of changes!
(e.g. Django even recommeding not jumping even over feature releases).

Sorry, but I can't give you any recommendations. I would say minimally
viable upgrade path will look like:

0.9.15 -> 1.0.0 / django 1.4 -> 1.9.13  / python 2.7
1.0.0 -> 1.1.0 / django 1.9.13 -> 1.11.29 / python 3
1.1.0 -> 1.1.7 / django 1.11.29 -> 2.0.13 -> 2.1.15 -> 2.2.16 -> 3.0.10 / 
python 3

but I can't give you any guarantees that will work. Mabe you can cut some 
corners with Django upgrade and do 1.11 -> 3.0.10.
Maybe you can do test it on VM first.
Or export useful data from old DB and reimport it in new DB directly.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #692930]: no such table: auth_user

2020-09-16 Thread Denis Zhdanov
Question #692930 on Graphite changed:
https://answers.launchpad.net/graphite/+question/692930

Status: Open => Answered

Denis Zhdanov proposed the following answer:
No, it should be separate directory, and you need to run   `django-
admin.py collectstatic` to copy files there, and set up webserver to
serve static files (or install whitenoise python module, but that's less
performant)

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #692930]: no such table: auth_user

2020-09-16 Thread Denis Zhdanov
Question #692930 on Graphite changed:
https://answers.launchpad.net/graphite/+question/692930

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Try to configure STATIC_ROOT explicitly, e.g. STATIC_ROOT =
'/opt/graphite/static'

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #692930]: no such table: auth_user

2020-09-16 Thread Denis Zhdanov
Question #692930 on Graphite changed:
https://answers.launchpad.net/graphite/+question/692930

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Fresh install these should work out of the box:

export PYTHONPATH=/opt/graphite/webapp
export DJANGO_SETTINGS_MODULE=graphite.settings
/usr/local/bin/django-admin.py makemigrations
/usr/local/bin/django-admin.py migrate auth
/usr/local/bin/django-admin.py migrate --run-syncdb

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #692930]: no such table: auth_user

2020-09-16 Thread Denis Zhdanov
Question #692930 on Graphite changed:
https://answers.launchpad.net/graphite/+question/692930

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Hello Simon,

Try to run first
PYTHONPATH=/opt/graphite/webapp /usr/local/bin/django-admin.py makemigrations 
--settings=graphite.local_settings
then
PYTHONPATH=/opt/graphite/webapp /usr/local/bin/django-admin.py migrate 
--settings=graphite.local_settings

WBR,
   Denys

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #692622]: Changing conf files in Docker Image

2020-08-27 Thread Denis Zhdanov
Question #692622 on Graphite changed:
https://answers.launchpad.net/graphite/+question/692622

Status: Open => Answered

Denis Zhdanov proposed the following answer:
I changed README to reflect latest changes. You need to provide
mandatory `python_binary` build arg when building container. For some
reason it didn't accept default in Dockerfile.

So, you need to run something like
sudo docker build . --build-arg python_binary=python3 -t test:test

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #689994]: Graphite metrics are shown as dots on it's webapp. Please assist where can I commit change to show it as series.

2020-04-16 Thread Denis Zhdanov
Question #689994 on Graphite changed:
https://answers.launchpad.net/graphite/+question/689994

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Use Connected Line mode : "Graph options" - "Line mode" - "Connected
line" or use "=connected"parameter  in render url

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #688529]: Docker - Webapp Database Setup - MySQL/Postgres

2020-02-05 Thread Denis Zhdanov
Question #688529 on Graphite changed:
https://answers.launchpad.net/graphite/+question/688529

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Hi Neve,

Unfortuntately, it's quite complex task. Old articles - for example
http://obfuscurity.com/2013/12/Migrating-Graphite-from-SQLite-to-PostgreSQL
and https://gist.github.com/toni-moreno/9779979 are probably still valid,
but maybe Django commands alredy changed, and no need to install any
packages - MySQL and PostgreSQL support already included in docker image.
If you need not migrate but start from scratch using MySQL - it's much
easier. Just create database and include it's config in DATABASES variable
in local_settings.py (as described in links above) and restart container.

ср, 5 февр. 2020 г. в 16:32, Neve Singaravel <
question688...@answers.launchpad.net>:

> New question #688529 on Graphite:
> https://answers.launchpad.net/graphite/+question/688529
>
> I am using the latest docker version of  graphite and I want to migrate
> the 'graphite.db' from SQLite to either PostgreSQL or MySQL. How do I
> update the docker? Please help
>
> --
> You received this question notification because your team graphite-dev
> is an answer contact for Graphite.
>
> ___
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : graphite-dev@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #688529]: Docker - Webapp Database Setup - MySQL/Postgres

2020-02-05 Thread Denis Zhdanov
Hi Neve,

Unfortuntately, it's quite complex task. Old articles - for example
http://obfuscurity.com/2013/12/Migrating-Graphite-from-SQLite-to-PostgreSQL
and https://gist.github.com/toni-moreno/9779979 are probably still valid,
but maybe Django commands alredy changed, and no need to install any
packages - MySQL and PostgreSQL support already included in docker image.
If you need not migrate but start from scratch using MySQL - it's much
easier. Just create database and include it's config in DATABASES variable
in local_settings.py (as described in links above) and restart container.

ср, 5 февр. 2020 г. в 16:32, Neve Singaravel <
question688...@answers.launchpad.net>:

> New question #688529 on Graphite:
> https://answers.launchpad.net/graphite/+question/688529
>
> I am using the latest docker version of  graphite and I want to migrate
> the 'graphite.db' from SQLite to either PostgreSQL or MySQL. How do I
> update the docker? Please help
>
> --
> You received this question notification because your team graphite-dev
> is an answer contact for Graphite.
>
> ___
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : graphite-dev@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help   : https://help.launchpad.net/ListHelp
>
___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #667776]: 502 Bad Gateway

2019-08-28 Thread Denis Zhdanov
Question #667776 on Graphite changed:
https://answers.launchpad.net/graphite/+question/667776

Denis Zhdanov posted a new comment:
Gunicorn is only one of many ways how you can run Graphite, systemd is only one 
of many ways how you can run service. Not sure if we should prefer one way to 
others.
But documentation is on the github - 
https://github.com/graphite-project/graphite-web/blob/master/docs/admin-webapp.rst
 , PRs are always welcome.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #667776]: 502 Bad Gateway

2019-08-28 Thread Denis Zhdanov
Question #667776 on Graphite changed:
https://answers.launchpad.net/graphite/+question/667776

Denis Zhdanov posted a new comment:
Gunicorn is only one of many ways how you can run Graphite, systemd is only one 
of many ways how you can run service. Not sure if we should prefer one way to 
others.
But documentation is on the github - 
https://github.com/graphite-project/graphite-web/blob/master/docs/admin-webapp.rst
 , PRs are always welcome.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #679138]: django.db.utils.OperationalError: database is locked

2019-03-12 Thread Denis Zhdanov
Question #679138 on Graphite changed:
https://answers.launchpad.net/graphite/+question/679138

Status: Open => Answered

Denis Zhdanov proposed the following answer:
By default Graphite using SQLite, which is not designed for significant
load, looks like you overloading it by tagging requests. You can disable
tagging by setting `ENABLE_TAGS=False` in carbon.conf or you can try to
enable Redis for tagging db by using `REDIS_TAGDB =True`

See https://github.com/graphite-project/carbon/issues/816

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


[Graphite-dev] Current state and future of Graphite (let's discuss)

2019-01-27 Thread Denis Zhdanov
Hello!
I want to discuss the current state of Graphite project, how we can proceed
further and how we can coordinate our efforts. Please note, that Graphite
is open-source project driving by the community and I'm calling other
maintainers, contributors and companies to provide own view and contribute
and discuss ideas in
https://github.com/graphite-project/graphite-web/issues/2418

Thanks a lot!

WBR,
   Denys
___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #676610]: Could not resolve host: icingaweb2

2018-12-05 Thread Denis Zhdanov
Question #676610 on Graphite changed:
https://answers.launchpad.net/graphite/+question/676610

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Hello Oleg,

Unfortunately, we're not supporting Icinga, please look for Icinga
specific support - https://icinga.com/support/

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #676015]: graphite-web with two backends - Recommended settings for local_settings.py

2018-11-08 Thread Denis Zhdanov
Question #676015 on Graphite changed:
https://answers.launchpad.net/graphite/+question/676015

Denis Zhdanov posted a new comment:
Clustering in Graphite was improved in latest releases, but I would recommend 
to get rid of frontend servers and move rendering back to backends - it should 
be bit better. Ie. just point your users to backend servers, and put cluster 
config there.
Also you can use `msgpack` as transport protocol, i.e. 
CLUSTER_SERVERS = ["http://graphite-backend-a-1:80?format=msgpack;, 
"http://graphite-backend-a-2:80?format=msgpack;]
But please install `msgpack` python module then - otherwise it will fallback to 
pure-python module, which is slow.
Also, you can play with numbers of workers and worker threads in Apache / Nginx 
/ uwsgi config.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #675575]: All of a sudden metrics getting lost

2018-10-26 Thread Denis Zhdanov
Question #675575 on Graphite changed:
https://answers.launchpad.net/graphite/+question/675575

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Whisper (Graphite data storage format) was designed to have predictable disk 
usage.
So, retentions = 60s:1d means that Graphite will store datapoint for every 60 
seconds and it will keep it for 1 day. It will not drop anything after 1 day, 
it will just update old points with new data, so, file size will be the same, 
but if you request more then 1 day of data you will get nothing.
So, if you was able to see the historical data before means that files before 
was created using different retention, not 60s:1d. I do not see any other 
explanation, so, probably retention was changed recently.
If you using retention 10s:14d, then it will store 1 datapoint every 10 seconds 
and it will keep data for 14 days, indeed. If you change 10s to 1s then file 
will be 10 times bigger.
Please check Whisper documentation for details - 
https://graphite.readthedocs.io/en/latest/whisper.html
You can use multiple archives if you want to balance file size and data 
retention, e.g.
retention = 10s:1d,60s:7d,5m:1y

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #675290]: Domenico Lucano: Italy's migrant-friendly mayor banned from Riace

2018-10-17 Thread Denis Zhdanov
Question #675290 on Graphite changed:
https://answers.launchpad.net/graphite/+question/675290

Status: Open => Invalid

Denis Zhdanov rejected the question:
spam

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #675289]: Cheaper food drives UK inflation lower in September

2018-10-17 Thread Denis Zhdanov
Question #675289 on Graphite changed:
https://answers.launchpad.net/graphite/+question/675289

Status: Open => Invalid

Denis Zhdanov rejected the question:
spam

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #675077]: countSeries() after currentAbove()

2018-10-17 Thread Denis Zhdanov
Question #675077 on Graphite changed:
https://answers.launchpad.net/graphite/+question/675077

Status: Open => Answered

Denis Zhdanov proposed the following answer:
will copy workaround from @DanCeh here - you can use
fallbackSeries(countSeries(currentAbove(servers.*.status, 1.1)),
constantLine(0))

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #675288]: Data retention according to storage-schemas.conf

2018-10-17 Thread Denis Zhdanov
Question #675288 on Graphite changed:
https://answers.launchpad.net/graphite/+question/675288

Status: Open => Answered

Denis Zhdanov proposed the following answer:
yes, whisper use circular archives, similar to RRD

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #675291]: Arby's duck sandwich: Fast-food chain introduces limited-time item

2018-10-17 Thread Denis Zhdanov
Question #675291 on Graphite changed:
https://answers.launchpad.net/graphite/+question/675291

Status: Open => Invalid

Denis Zhdanov rejected the question:
spam

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #675293]: MLB playoffs: Clayton Kershaw's last start with Dodgers?

2018-10-17 Thread Denis Zhdanov
Question #675293 on Graphite changed:
https://answers.launchpad.net/graphite/+question/675293

Status: Open => Invalid

Denis Zhdanov rejected the question:
spam

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #675239]: TypeError: NewBase must define encode

2018-10-16 Thread Denis Zhdanov
Question #675239 on Graphite changed:
https://answers.launchpad.net/graphite/+question/675239

Status: Open => Answered

Denis Zhdanov proposed the following answer:
For latest Graphite you need latest txAMQP module -
https://pypi.org/project/txAMQP/

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #674881]: connect to remote server to my local graphite server

2018-10-09 Thread Denis Zhdanov
Question #674881 on Graphite changed:
https://answers.launchpad.net/graphite/+question/674881

Status: Open => Needs information

Denis Zhdanov requested more information:
It depends how you install it. Usually, you need to open your webserver
config outside world, but it really depends which server, how it was
installed etc.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #673131]: Why does ConsistentHashRing cut hashes down to 16 bits?

2018-08-29 Thread Denis Zhdanov
Question #673131 on Graphite changed:
https://answers.launchpad.net/graphite/+question/673131

Denis Zhdanov posted a new comment:
If you talking about initial implementation, i.e. carbon_ch then probably only 
initial contributor knows, from Orbitz time, probably only Chris Davis himself, 
and I think it's better to ask him directly - chri...@gmail.com
If you talking fnv1a_ch - I only mimic initial implementation from 
carbon-c-relay - 
https://github.com/grobian/carbon-c-relay/blob/1f83a273e88a594b068b39eb082ec4af7b8a8c95/consistent-hash.c#L67-L80
 - so it's better again to ask its author directly - probably through Github, I 
do not know his email.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #670615]: @liampayne/article/sanju-movie-download-full-link-700mb-fil

2018-07-02 Thread Denis Zhdanov
Question #670615 on Graphite changed:
https://answers.launchpad.net/graphite/+question/670615

Status: Open => Invalid

Denis Zhdanov rejected the question:
spam

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #669588]: exec format error when trying to run under Docker on ppc64

2018-05-24 Thread Denis Zhdanov
Question #669588 on Graphite changed:
https://answers.launchpad.net/graphite/+question/669588

Denis Zhdanov posted a new comment:
Theoretically, it's possible to build ppc64 image of phusion base image
- as described in https://github.com/phusion/baseimage-
docker/issues/484#issuecomment-383406362 but my quick try was failed and
there's no ready to use image hosted on dockerhub.

I also googled a bit but didn't find a way how to produce a warning
about non-compatible architecture of Docker container.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #669588]: exec format error when trying to run under Docker on ppc64

2018-05-24 Thread Denis Zhdanov
Question #669588 on Graphite changed:
https://answers.launchpad.net/graphite/+question/669588

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Container is buit on x86 64 Ubuntu, probably it will if you rebuild in
on ppc64. I'm doubt that phusion/baseimage exist for ppc64

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #667776]: 502 Bad Gateway

2018-04-09 Thread Denis Zhdanov
Question #667776 on Graphite changed:
https://answers.launchpad.net/graphite/+question/667776

Denis Zhdanov posted a new comment:
You can peek gunicorn configuration e.g. in official docker image
https://github.com/graphite-project/docker-graphite-statsd/blob/master/conf/etc/service/graphite/run

export PYTHONPATH=/opt/graphite/webapp && exec /usr/local/bin/gunicorn
wsgi --workers=4 --bind=0.0.0.0:8080 --log-file=/var/log/gunicorn.log
--preload --pythonpath=/opt/graphite/webapp/graphite

You also need to create config for Graphite

cp /opt/graphite/webapp/graphite/local_settings.py.example
/opt/graphite/webapp/graphite/local_settings.py

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #666860]: Graphite: Pass same filtered SeriesList from two different days to asPercent()

2018-03-20 Thread Denis Zhdanov
Question #666860 on Graphite changed:
https://answers.launchpad.net/graphite/+question/666860

Denis Zhdanov posted a new comment:
Hello,

Looks like your questions not getting much visibility here, you can try
to open issue in github project - https://github.com/graphite-project
/graphite-web

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #665679]: Graphite Percentage Calculation using groupbyNode or averageSeriesWithWildCards

2018-03-20 Thread Denis Zhdanov
Question #665679 on Graphite changed:
https://answers.launchpad.net/graphite/+question/665679

Denis Zhdanov posted a new comment:
Hello,

Looks like your questions not getting much visibility here, you can try
to open issue in github project - https://github.com/graphite-project
/graphite-web

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #665543]: AppRegistryNotReady: Apps aren't loaded yet.

2018-03-13 Thread Denis Zhdanov
Question #665543 on Graphite changed:
https://answers.launchpad.net/graphite/+question/665543

Denis Zhdanov posted a new comment:
Hi Alex,

Sorry, it's not really clear what's your issue is, could you please elaborate?
If unmodified manage.py works and modified is not - then do not use modified. 
or I'm missing something?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #664688]: nameError: caches is not defined

2018-02-20 Thread Denis Zhdanov
Question #664688 on Graphite changed:
https://answers.launchpad.net/graphite/+question/664688

Denis Zhdanov posted a new comment:
No, it should not be defined in local_settings.py

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #664688]: nameError: caches is not defined

2018-02-20 Thread Denis Zhdanov
Question #664688 on Graphite changed:
https://answers.launchpad.net/graphite/+question/664688

Status: Open => Needs information

Denis Zhdanov requested more information:
Probably it's better to show full local_settings.py, probably there's
some typo there. CACHES variable is defining in settings.py -
https://github.com/graphite-project/graphite-
web/blob/2a897cf15a1ad9beb2f919267ef98ce40271bea6/webapp/graphite/settings.py#L92,
not sure how you can bypass that declaration.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #664243]: Find results slow when using CLUSTER_SERVERS in two node setup

2018-02-12 Thread Denis Zhdanov
Question #664243 on Graphite changed:
https://answers.launchpad.net/graphite/+question/664243

Status: Open => Needs information

Denis Zhdanov requested more information:
3 extra seconds looks like fetch timeout, which is 3 seconds.
Are CLUSTER_SERVERS  really available? Does 
curl -v http://172.27.174.55//render?format=json and curl -v 
http://172.27.172.181//render?format=json
returns something?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #664243]: Find results slow when using CLUSTER_SERVERS in two node setup

2018-02-09 Thread Denis Zhdanov
Question #664243 on Graphite changed:
https://answers.launchpad.net/graphite/+question/664243

Status: Open => Needs information

Denis Zhdanov requested more information:
That's strange. Could you please show `pip freeze` output?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663652]: httpd process cpu usage high

2018-02-01 Thread Denis Zhdanov
Question #663652 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663652

Denis Zhdanov posted a new comment:
Rule of thumb here is workers=2xCPU, but please take note that if you're have 
hyperthreading enable real cores can be 8 and not 16.
So, unfortunately YMMV - it's need to be tested on your prticular hardware. 
Start with 16, and increase if needed.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663652]: httpd process cpu usage high

2018-01-27 Thread Denis Zhdanov
Question #663652 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663652

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Hell,
It depends on your setup. If you're using apache + mod_wsgi then you need to 
increase number of processes and threads  in line similar to 
https://github.com/graphite-project/graphite-web/blob/master/examples/example-graphite-vhost.conf#L31
 (current number of threads in example is 5).
Then you need to restart Apache.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663651]: different schema rotations under same folder

2018-01-27 Thread Denis Zhdanov
Question #663651 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663651

Status: Open => Needs information

Denis Zhdanov requested more information:
Not sure that I understand your question correctly. Could you please elaborate 
it in more details - which metric, which retentions etc.
Thanks!

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663092]: Unable to post tags

2018-01-19 Thread Denis Zhdanov
Question #663092 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663092

Denis Zhdanov posted a new comment:
It should be compatible, but you'll probably need to fix validation,
indeed

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663104]: Upgrade Graphite from 0.9.13 to 1.1.1

2018-01-17 Thread Denis Zhdanov
Question #663104 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663104

Denis Zhdanov posted a new comment:
Maybe `mirgate --run-syncdb`  will work now? before it failed on auth
tables, right? please try that

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663104]: Upgrade Graphite from 0.9.13 to 1.1.1

2018-01-17 Thread Denis Zhdanov
Question #663104 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663104

Denis Zhdanov posted a new comment:
Sorry, linuxlover32, didn't get it. If migrate auth worked, why do you
need migrate auth still?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663104]: Upgrade Graphite from 0.9.13 to 1.1.1

2018-01-16 Thread Denis Zhdanov
Question #663104 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663104

Denis Zhdanov posted a new comment:
Try to run
```PYTHONPATH=/opt/graphite/webapp django-admin.py migrate auth --noinput 
--settings=graphite.settings ```
and then
```PYTHONPATH=/opt/graphite/webapp django-admin.py migrate --noinput 
--settings=graphite.settings ```

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #662391]: Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module

2018-01-16 Thread Denis Zhdanov
Question #662391 on Graphite changed:
https://answers.launchpad.net/graphite/+question/662391

Denis Zhdanov posted a new comment:
Ah, disregard that, it's not needed with proper wsgi file - 
https://github.com/graphite-project/graphite-web/blob/master/conf/graphite.wsgi.example
I'm supposing you follow instalation doc - 
https://graphite.readthedocs.io/en/latest/config-webapp.html#apache-mod-wsgi ?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663092]: Unable to post tags

2018-01-16 Thread Denis Zhdanov
Question #663092 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663092

Denis Zhdanov posted a new comment:
Tags data is stored in database, path shouldn't have matter

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663092]: Unable to post tags

2018-01-16 Thread Denis Zhdanov
Question #663092 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663092

Denis Zhdanov posted a new comment:
Do you have `/opt/graphite/storage/whisper/_tagged` directory created?
Does carbon was also upgraded to 1.1.x version?

Everything is looks fine, should be working.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663092]: Unable to post tags

2018-01-16 Thread Denis Zhdanov
Question #663092 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663092

Denis Zhdanov posted a new comment:
Should be OK, if "curl -v
http://127.0.0.1/render?=disk.used=-5min=true; is
working.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #662391]: Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module

2018-01-16 Thread Denis Zhdanov
Question #662391 on Graphite changed:
https://answers.launchpad.net/graphite/+question/662391

Denis Zhdanov posted a new comment:
Sorry for asking stupid questions, just want to check most obvious
reasons. If module is installed but not visible for mod_uwsgi then try
to correct WSGIPythonPath variable. Sorry, but I do not know why default
setting is not working for you and it's a not really directly related
with Graphite per se...

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #662391]: Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module

2018-01-16 Thread Denis Zhdanov
Question #662391 on Graphite changed:
https://answers.launchpad.net/graphite/+question/662391

Denis Zhdanov posted a new comment:
BY IIRC I mean "If I Remember Correctly". How do you install packages
above?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #662391]: Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module

2018-01-15 Thread Denis Zhdanov
Question #662391 on Graphite changed:
https://answers.launchpad.net/graphite/+question/662391

Denis Zhdanov posted a new comment:
@aurimas88: you need to install django 1.8 or newer, IIRC it's not included as 
package to RHEL7. Even EPEL repo contains 1.6.x, which is too old for latest 
Graphite. Usually, people installing it to RHEL using `pip` but that's will not 
work w/o Internet connection.
You can also build all required packages using `fpm` tool 
(https://fpm.readthedocs.io/en/latest/source/python.html) on RHEL server which 
have internet connection, but you need to resolve all dependencies manually, 
which require some work.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663104]: Upgrade Graphite from 0.9.13 to 1.1.1

2018-01-15 Thread Denis Zhdanov
Question #663104 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663104

Denis Zhdanov posted a new comment:
You need to install python scandir module, it's mandatory starting from 
graphite 1.0.0
https://pypi.python.org/pypi/scandir

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663104]: Upgrade Graphite from 0.9.13 to 1.1.1

2018-01-15 Thread Denis Zhdanov
Question #663104 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663104

Status: Open => Needs information

Denis Zhdanov requested more information:
Could you please elaborate what exactly fails?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663092]: Unable to post tags

2018-01-15 Thread Denis Zhdanov
Question #663092 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663092

Status: Needs information => Answered

Denis Zhdanov proposed the following answer:
What's GRAPHITE_URL in your carbon.conf ?
Should pointed to Graphite, e.g. 
GRAPHITE_URL = http://graphite:80

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663099]: Having an issues getting graphite to see collectd information

2018-01-15 Thread Denis Zhdanov
Question #663099 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663099

Denis Zhdanov posted a new comment:
On the first sight your collectd config looks good to me. So it's better
to  ask support from collectd users - https://collectd.org/contact.shtml

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #663092]: Unable to post tags

2018-01-15 Thread Denis Zhdanov
Question #663092 on Graphite changed:
https://answers.launchpad.net/graphite/+question/663092

Status: Open => Needs information

Denis Zhdanov requested more information:
As documentation says "Normally carbon will take care of this, it submits 
all-new series to the TagDB, and periodically re-submits all series to ensure 
that the TagDB is kept up to date". Did you tried to submit metric in carbon?
Like
echo "disk.used;rack=a1;datacenter=dc1;server=web01 300 $(date +%s)" | nc 
localhost 2003
?

Also `{"error": "near \",\": syntax error"}` is very strange error,
there's no ',' symbol in your request. I tried to do the same on 1.1.1
from docker image - it works fine.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #662391]: Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module

2017-12-30 Thread Denis Zhdanov
Question #662391 on Graphite changed:
https://answers.launchpad.net/graphite/+question/662391

Denis Zhdanov posted a new comment:
Yes, agreed with Piotr here - maybe 0.9.16 is better to use with CentOS/Rhel 
now.
And maybe we should amend documentation, mention e.g. EPEL and installation of 
Development Tools. And agreed with TS - documentation can be better, it's 
currently not very simple and require some external knowlege, e.g. how to setup 
and run Django apps.
But yes - documentation is on Github, PRs are very welcoming! If someone want 
to include any distro specific installation - it's possible, of course.

Anyway, I manage to run graphite-web with fresh CentOS with something
like

```
yum install epel-release
yum groupinstall 'Development Tools'
yum install python-pip httpd mod_wsgi
yum install python-devel cairo-devel libffi-devel

disable SELINUX, reboot

export PYTHONPATH="/opt/graphite/lib/:/opt/graphite/webapp/"
pip install --no-binary=:all: 
https://github.com/graphite-project/whisper/tarball/master
pip install --no-binary=:all: 
https://github.com/graphite-project/carbon/tarball/master
pip install --no-binary=:all: 
https://github.com/graphite-project/graphite-web/tarball/master

chown -R apache:apache /opt/graphite/storage
cp /opt/graphite/webapp/graphite/local_settings.py.example 
/opt/graphite/webapp/graphite/local_settings.py

copying https://github.com/graphite-project/graphite-
web/blob/master/examples/example-graphite-vhost.conf to
/etc/httpd/conf.d/

PYTHONPATH=/opt/graphite/webapp django-admin.py migrate \
  --noinput --settings=graphite.settings --run-syncdb

PYTHONPATH=/opt/graphite/webapp django-admin.py collect-static \
  --noinput --settings=graphite.settings

service httpd restart
``` 

So, I think your problem lies somewhere in different versions of
python/wsgi. I saw that before e.g. when wsgi script was running on
python 2.7 and apache wsgi was built against python 2.6

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #662391]: Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module

2017-12-30 Thread Denis Zhdanov
Question #662391 on Graphite changed:
https://answers.launchpad.net/graphite/+question/662391

Denis Zhdanov posted a new comment:
BTW, the error above is not Graphite specific. It looks like mismatched python 
version in system and wsgi module. Did you use 3rd party repos? 
Try this solution also - https://stackoverflow.com/a/10313354/1139639

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #662391]: Target WSGI script '/opt/graphite/conf/graphite.wsgi' cannot be loaded as Python module

2017-12-30 Thread Denis Zhdanov
Question #662391 on Graphite changed:
https://answers.launchpad.net/graphite/+question/662391

Status: Open => Needs information

Denis Zhdanov requested more information:
Hello,

Sorry for a frustrating experience, but yes - python based software is not 
easiest to install, especially on centos/rhel, because of outdated 
dependencies. That's one of the reasons why we're not producing deb/rpms - on 
current distributions, it will require so many efforts to maintain all 
dependencies - it will be around 10 custom packages.
We also have Synthesize project (Graphite on vagrant) and Docker image - but 
both are based on Ubuntu and will work – but not will help you to install 
Graphite on redhat-based distro.
Let me test it in VM. Do you have centos 7, I hope?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #661993]: Exceptions when using CARBONLINK_HASHING_TYPE = 'fnv1a_ch'

2017-12-20 Thread Denis Zhdanov
Question #661993 on Graphite changed:
https://answers.launchpad.net/graphite/+question/661993

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Unfortunately, it's a bug - see 
https://github.com/graphite-project/carbon/pull/679 and 
https://github.com/graphite-project/graphite-web/pull/2014
Fixed in version 1.1.1

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #661871]: star-wars-the-last-jedi-2017

2017-12-16 Thread Denis Zhdanov
Question #661871 on Graphite changed:
https://answers.launchpad.net/graphite/+question/661871

Status: Open => Invalid

Denis Zhdanov rejected the question:
spam

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #661868]: wonder -onlin e-2017- for-f ull

2017-12-16 Thread Denis Zhdanov
Question #661868 on Graphite changed:
https://answers.launchpad.net/graphite/+question/661868

Status: Open => Invalid

Denis Zhdanov rejected the question:
spam

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #661851]: star-wars-the-last-jedi-online-2017-for

2017-12-16 Thread Denis Zhdanov
Question #661851 on Graphite changed:
https://answers.launchpad.net/graphite/+question/661851

Status: Open => Invalid

Denis Zhdanov rejected the question:
spam

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #660458]: Missing Metrics in Carbon Cache

2017-11-08 Thread Denis Zhdanov
Question #660458 on Graphite changed:
https://answers.launchpad.net/graphite/+question/660458

Denis Zhdanov posted a new comment:
That's really strange, TBH I have no idea how it can be. Your symptoms
look like your cache is not working for some reason, and Graphite is
reading data from disk only, which is of course slow. But in this case
you should have null series at the end of metric - but you have some
fresh data at the end - how that could be?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #660458]: Missing Metrics in Carbon Cache

2017-11-08 Thread Denis Zhdanov
Question #660458 on Graphite changed:
https://answers.launchpad.net/graphite/+question/660458

Denis Zhdanov posted a new comment:
Hi Ryan,

No, unfortunately I have no other ideas if I understand your issue correctly - 
but probably I'm not.
So, you have sequence of nulls in your metric, right? 
But this sequence is in the middle of metric and it never "heals" later? Or it 
does?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #660458]: Missing Metrics in Carbon Cache

2017-11-07 Thread Denis Zhdanov
Question #660458 on Graphite changed:
https://answers.launchpad.net/graphite/+question/660458

Denis Zhdanov posted a new comment:
Hello Ryan,

That's behavior is quite odd. Graphite is not required that metric should be 
flushed to disk - metrics should be available directly from carbon cache using 
carbonlink protocol (CARBONLINK_HOSTS=['127.0.0.1:7002'] by default)
But probably cache in your case is broken, because you're using '127.0.0.1' as 
a destination, although consistent hash algorithm uses *hostname* as a part of 
the hashing key. Theoretically, it doesn't matter for RF=2, but... 
So, please change:

 DESTINATIONS = 127.0.0.1:2005, 10.1.1.12:2005

to

 DESTINATIONS = :2005, 10.1.1.12:2005

This line should be the same (including order) for all cache daemons.

Try also to add
CARBONLINK_HOSTS=['127.0.0.1:7002']
explicitly to local_settings.py on both servers.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #659214]: attributeerror epollreactor object has no attribute adpotstreamport

2017-10-10 Thread Denis Zhdanov
Question #659214 on Graphite changed:
https://answers.launchpad.net/graphite/+question/659214

Status: Open => Answered

Denis Zhdanov proposed the following answer:
What's your Graphite version? 1.0.x and master require Twisted 13.2 or
never, 11.0 is too old, please upgrade it.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #658662]: Getting internal error for graphite

2017-10-05 Thread Denis Zhdanov
Question #658662 on Graphite changed:
https://answers.launchpad.net/graphite/+question/658662

Denis Zhdanov posted a new comment:
You should install proper mod_wsgi module, which build against python 2.7
It depends where do you get python 2.7
If you installed that from 3rd party repo - it's better to pick up mod_wsgi 
package also there.
if you install python from sources - then you need to build mod_wsgi also from 
sources, as described for example here - 
https://blog.webhostpython.com/how-to-install-python-2-7-with-mod_wsgi-on-a-centos-6-vps-or-server-with-cpanel/

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #658662]: Getting internal error for graphite

2017-09-29 Thread Denis Zhdanov
Question #658662 on Graphite changed:
https://answers.launchpad.net/graphite/+question/658662

Denis Zhdanov posted a new comment:
Sorry, rocky, I ran out of ideas. You should remove file
/opt/graphite/webapp/graphite/wsgi.py and restart webserver - error
should gone. If it's not - probably you're checking wrong server, or
something else is seriously wrong.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #658662]: Getting internal error for graphite

2017-09-28 Thread Denis Zhdanov
Question #658662 on Graphite changed:
https://answers.launchpad.net/graphite/+question/658662

Denis Zhdanov posted a new comment:
Sorry, rocky, but this lines are old - from September 26. I'm really
doubt that non-existing file can give you this error, especially after
server reboot. Please check fresh errors.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #658662]: Getting internal error for graphite

2017-09-28 Thread Denis Zhdanov
Question #658662 on Graphite changed:
https://answers.launchpad.net/graphite/+question/658662

Denis Zhdanov posted a new comment:
Looks sane. You need to remove 'Alias /media/
"@DJANGO_ROOT@/contrib/admin/media/"' line, but it should not bring any
troubles.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #658662]: Getting internal error for graphite

2017-09-28 Thread Denis Zhdanov
Question #658662 on Graphite changed:
https://answers.launchpad.net/graphite/+question/658662

Denis Zhdanov posted a new comment:
How you can get error in line 7 of non-existing File
"/opt/graphite/webapp/graphite/wsgi.py" ?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #658662]: Getting internal error for graphite

2017-09-28 Thread Denis Zhdanov
Question #658662 on Graphite changed:
https://answers.launchpad.net/graphite/+question/658662

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Remove old fine (/opt/graphite/webapp/graphite/wsgi.py) and try again.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #658662]: Getting internal error for graphite

2017-09-26 Thread Denis Zhdanov
Question #658662 on Graphite changed:
https://answers.launchpad.net/graphite/+question/658662

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Just use simple wsgi file which I posted above.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #658662]: Getting internal error for graphite

2017-09-26 Thread Denis Zhdanov
Question #658662 on Graphite changed:
https://answers.launchpad.net/graphite/+question/658662

Denis Zhdanov posted a new comment:
PS: For Graphite 1.0.x wsgi can be very simple - https://github.com
/graphite-project/graphite-web/blob/master/conf/graphite.wsgi.example,
.e.g.

import sys
sys.path.append('/opt/graphite/webapp')
from graphite.wsgi import application

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #658662]: Getting internal error for graphite

2017-09-26 Thread Denis Zhdanov
Question #658662 on Graphite changed:
https://answers.launchpad.net/graphite/+question/658662

Status: Open => Needs information

Denis Zhdanov requested more information:
What version of Graphite you trying to install? and what's Django
version do you have?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #295757]: How to set Destination up for replicated data

2017-09-23 Thread Denis Zhdanov
Question #295757 on Graphite changed:
https://answers.launchpad.net/graphite/+question/295757

Denis Zhdanov posted a new comment:
TC wanted to increased RF when scaling up from 2 nodes to 4. You can or
use 2 tier relays or just have 4 hosts and RF=2

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #657866]: How do I multiply points in a series?

2017-09-12 Thread Denis Zhdanov
Question #657866 on Graphite changed:
https://answers.launchpad.net/graphite/+question/657866

Denis Zhdanov posted a new comment:
Yes, that should work, indeed!

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #657866]: How do I multiply points in a series?

2017-09-11 Thread Denis Zhdanov
Question #657866 on Graphite changed:
https://answers.launchpad.net/graphite/+question/657866

Status: Open => Answered

Denis Zhdanov proposed the following answer:
You need to multiply values to some constant? Just use scale() function
-
https://graphite.readthedocs.io/en/latest/functions.html#graphite.render.functions.scale

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #657352]: More rows in info.log with graphite-web 1.0.2

2017-09-04 Thread Denis Zhdanov
Question #657352 on Graphite changed:
https://answers.launchpad.net/graphite/+question/657352

Status: Open => Needs information

Denis Zhdanov requested more information:
How excessive log lines look like?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #655260]: How to modify metric name carbon.agents.xxxxx

2017-08-03 Thread Denis Zhdanov
Question #655260 on Graphite changed:
https://answers.launchpad.net/graphite/+question/655260

Status: Open => Answered

Denis Zhdanov proposed the following answer:
You can change prefix - default is `carbon`, by setting CARBON_METRIC_PREFIX 
variable. 'agents' part is hardcoded, and 'ip-xxx' - that's your hostname and 
 - that's your instance. 
You can change that only editing source code -  
https://github.com/graphite-project/carbon/blob/5ec7e39c6fc6002d8d4db9f145e0d3f60a5faa1b/lib/carbon/instrumentation.py#L168

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #653729]: Load MySQL data into graphite

2017-07-31 Thread Denis Zhdanov
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729

Denis Zhdanov posted a new comment:
If you have enough RAM - this will work. If not - then you need to read
data from database using python and send it to graphite right away.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #653729]: Load MySQL data into graphite

2017-07-27 Thread Denis Zhdanov
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Of course, graphitesend module should be installed. And I doubt that it 
supports python3.
So, install it with `pip install graphitesend`  and run with `python 
proc_loadavg.py`

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #653729]: Load MySQL data into graphite

2017-07-27 Thread Denis Zhdanov
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729

Denis Zhdanov proposed the following answer:
You forgot to initialize graphitsend library. Try instead of

g = graphitesend.init(group='loadavg_', suffix='min')

use

g = graphitesend.init(group='loadavg_',
suffix='min',graphite_server='XX',graphite_port=Y)

Put your graphite and port instead of XXX and Y respectively.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #653729]: Load MySQL data into graphite

2017-07-27 Thread Denis Zhdanov
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729

Denis Zhdanov proposed the following answer:
Up to you. IMO it's still relevant.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #653729]: Load MySQL data into graphite

2017-07-27 Thread Denis Zhdanov
Question #653729 on Graphite changed:
https://answers.launchpad.net/graphite/+question/653729

Status: Open => Answered

Denis Zhdanov proposed the following answer:
I don't know any ready-to-use tooling for that, so, you need to write a script 
on e.g. python to prepare and insert data. But in general, it's the same idea - 
get data, form a proper line for graphite, send it to port 2003 with "\n" at 
the end, go to next. You can parallelize it if needed, but in general 2M rows 
is not that big.
You can also directly put data to whisper - but it will take more efforts and 
knowledge.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #649208]: Can't collectstatic

2017-07-18 Thread Denis Zhdanov
Question #649208 on Graphite changed:
https://answers.launchpad.net/graphite/+question/649208

Denis Zhdanov posted a new comment:
Ah, OK. Pushed latest, please try now.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #649208]: Can't collectstatic

2017-07-18 Thread Denis Zhdanov
Question #649208 on Graphite changed:
https://answers.launchpad.net/graphite/+question/649208

Denis Zhdanov posted a new comment:
Just pushed https://hub.docker.com/r/graphiteapp/graphite-statsd/

Will add link to http://graphiteapp.org/quick-start-guides/

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #649208]: Can't collectstatic

2017-07-18 Thread Denis Zhdanov
Question #649208 on Graphite changed:
https://answers.launchpad.net/graphite/+question/649208

Denis Zhdanov posted a new comment:
Because we still have no official docker image. And @hopsoft's one is
outdated.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #649208]: Can't collectstatic

2017-07-18 Thread Denis Zhdanov
Question #649208 on Graphite changed:
https://answers.launchpad.net/graphite/+question/649208

Denis Zhdanov posted a new comment:
I'm doing exactly this now (official docker image based on @hopsoft and
synthesize) btw

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #649208]: Can't collectstatic

2017-07-17 Thread Denis Zhdanov
Question #649208 on Graphite changed:
https://answers.launchpad.net/graphite/+question/649208

Status: Open => Needs information

Denis Zhdanov requested more information:
Unfortunately, I do not know what's happened with your  'django-admin 
collectstatic', probably your Django installation is broken in someway.
Could you please show what's in your '/usr/share/graphite/static' reside?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #649208]: Can't collectstatic

2017-07-17 Thread Denis Zhdanov
Question #649208 on Graphite changed:
https://answers.launchpad.net/graphite/+question/649208

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Check files in ` /usr/share/graphite/static`. If it's there - then you
need to configure your webserver to serve /static files from this
directory - as described in documentation -
https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/modwsgi
/#serving-files - "Alias /static/  /usr/share/graphite/static"

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #645803]: Holt-Winter forecast time range

2017-07-06 Thread Denis Zhdanov
Question #645803 on Graphite changed:
https://answers.launchpad.net/graphite/+question/645803

Denis Zhdanov posted a new comment:
>The future prediction is not supported as you said, so the prediction result 
>is indeed within the same period of time as series.
Yes.

>Again an example, we input data from -24hours till now, and call hw on this 
>series. Then in Graphite it would include data from -24hours-1week till now as 
>training data, and output prediction from -24hours to now.
Yes.

>That's not prediction because what we want to predict is the input of the 
>prediction.
That's a little bit counter-intuitive, but more data for prediction makes 
prediction more precise. (it's not a truth in 100% of cases even for HW, 
though). As I said before Graphite doesn't support future datapoints, so, HW is 
only useful to have some anomaly detection, i.e. predict if your current (or 
almost current) data is OK or now. And in this case including current data in 
training set has a perfect sense to me.
But I'm not a statistician and my knowledge of HW is quite scarce. If you sure 
if shifting of end of training set could be useful you can implement shifting 
upper bound of bootstrap interval, similar to my patch - 
https://github.com/graphite-project/graphite-web/pull/1977 - e.g. introducing 
some new parameter to trigger new behavior.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #645803]: Holt-Winter forecast time range

2017-07-06 Thread Denis Zhdanov
Question #645803 on Graphite changed:
https://answers.launchpad.net/graphite/+question/645803

Denis Zhdanov posted a new comment:
>So I really want to make sure that testing data are not included in training 
>data.
Sorry, I didn't understand your question right. Yes, start time of each series 
has been changed to one week prior to the start time.
And indeed, end time remains the same, so, your series are included in training 
set. Why shouldn't it?

>it actually loses the total point of forecasting, if future forecasting is not 
>supported. And it's actually very easy to extend.
Indeed, that's why HW is not really popular in Graphite. Unfortunately, 
Graphite doesn't support future datapoints, it's quite hard to implement that.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #645803]: Holt-Winter forecast time range

2017-07-02 Thread Denis Zhdanov
Question #645803 on Graphite changed:
https://answers.launchpad.net/graphite/+question/645803

Status: Open => Answered

Denis Zhdanov proposed the following answer:
Hello Wenna,

 Training data is actually from one previous week to the start time of
the series, indeed. In current master and upcoming 1.0.2 release has a
separate parameter for setting training interval.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #640523]: Running Graphite in Docker containers

2017-06-08 Thread Denis Zhdanov
Question #640523 on Graphite changed:
https://answers.launchpad.net/graphite/+question/640523

Denis Zhdanov posted a new comment:
Hi Shashank,

Looks like nobody doing that on a massive scale - or don't want to share
insights. ¯\_(ツ)_/¯

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #642026]: Issue while installing ceres on Os x 10.12

2017-06-07 Thread Denis Zhdanov
Question #642026 on Graphite changed:
https://answers.launchpad.net/graphite/+question/642026

Status: Open => Answered

Denis Zhdanov proposed the following answer:
please do not install Graphite with system python on OSX
Please 
1) first install python through brew (https://brew.sh, then "brew install 
python"), it will pe installed as symlink to /usr/local/bin/python
2) then install Graphite in virtualenv - 
https://graphite.readthedocs.io/en/latest/install-virtualenv.html

or use vagrant and Synthesize - http://graphiteapp.org/quick-start-
guides/synthesize.html

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #634288]: Grafana, Graphite and Netdata - Having constant gaps in my graphs

2017-05-24 Thread Denis Zhdanov
Question #634288 on Graphite changed:
https://answers.launchpad.net/graphite/+question/634288

Status: Open => Needs information

Denis Zhdanov requested more information:
I would recommend to install some carbon monitoring dashboard (like
https://grafana.com/dashboards/311 or https://grafana.com/dashboards/43)
and compare graphs for laptop and VM. Maybe you're just overloading
single carbon instance and you need to use relay and 4-6 carbon daemons
in parallel.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #629244]: graphite metrics issue

2017-05-23 Thread Denis Zhdanov
Question #629244 on Graphite changed:
https://answers.launchpad.net/graphite/+question/629244

Denis Zhdanov posted a new comment:
OK, but please note that 1000 is very approximate, please monitor
queue size and increase if needed.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #629244]: graphite metrics issue

2017-05-21 Thread Denis Zhdanov
Question #629244 on Graphite changed:
https://answers.launchpad.net/graphite/+question/629244

Denis Zhdanov posted a new comment:
What's your MAX_CACHE_SIZE ? still Inf? You need to limit that too. You
also need to graph status of your graphite too, for example, use this
dashboard for Grafana -  https://grafana.com/dashboards/311 or
https://grafana.com/dashboards/43 or something similar

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Graphite-dev] [Question #629244]: graphite metrics issue

2017-05-16 Thread Denis Zhdanov
Question #629244 on Graphite changed:
https://answers.launchpad.net/graphite/+question/629244

Denis Zhdanov posted a new comment:
Hi Shashank,

1. Not sure why you using carbon-c-relay and normal relays. You can direct 
traffic directly to caches.
"
match *
  send to
new-aws-backend-caches
"

2. 
MAX_CACHE_SIZE = inf
MAX_UPDATES_PER_SECOND = inf
MAX_CREATES_PER_MINUTE = inf
Using unbound caches is not always good.  I would recommend to put some sane 
limits there.
e.g.

MAX_CACHE_SIZE = 1
MAX_UPDATES_PER_SECOND = 1000
MAX_CREATES_PER_MINUTE = 5000

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.

___
Mailing list: https://launchpad.net/~graphite-dev
Post to : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp


  1   2   3   >