Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test system with docker executor && tagged demo 2 #13

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

AShlychkova
Copy link

with docker executor in circleci env is specified with - setup_remote_docker (otherwise it can not build images) so i can't use dockerise

.circleci/config.yml Outdated Show resolved Hide resolved
.idea/inclickdb.iml Outdated Show resolved Hide resolved
Generator/Dockerfile Outdated Show resolved Hide resolved
Generator/Dockerfile Outdated Show resolved Hide resolved
Image/Dockerfile Outdated Show resolved Hide resolved
if insert_data:
return insert_data, Tag_to_add, tags
return None, None, None

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, run pylint and black on all python files.

demo2/reciever_python/add_metrics.sh Outdated Show resolved Hide resolved
demo2/reciever_python/add_metrics.sh Outdated Show resolved Hide resolved
demo2/reciever_python/init.py Outdated Show resolved Hide resolved
demo2/reciever_python/insert.py Outdated Show resolved Hide resolved
Screenshot/image.sh Outdated Show resolved Hide resolved
Screenshot/image.sh Outdated Show resolved Hide resolved
.circleci/config.yml Outdated Show resolved Hide resolved
demo2/reciever_python/Parser.py Outdated Show resolved Hide resolved
tags - tags for insert query
"""

if isinstance(data) != str:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not a valid python code

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isn't fixed yet

demo2/reciever_python/insert.py Outdated Show resolved Hide resolved
@@ -0,0 +1 @@
*.cgroups.*.cpu.* host.measurement.cgroup.measurement.field
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please add more templates?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean like 10 more or even 100. You can use the ones I provided in matrix chat

@@ -0,0 +1 @@
*.cgroups.*.cpu.* host.measurement.cgroup.measurement.field
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean like 10 more or even 100. You can use the ones I provided in matrix chat


demo0:
jobs:
- build_demo_0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not defined

#!/bin/sh

key=$(<../demo2/grafana-key/key.txt)
req='/d-solo/JE7rYbjmz/dh?orgId=1&panelId=2&width=1000&height=500'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this always going to be JE7rYbjmz?

key=$(<../demo2/grafana-key/key.txt)
req='/d-solo/JE7rYbjmz/dh?orgId=1&panelId=2&width=1000&height=500'
curl 'http://localhost:3000/render'$req \
-H 'Authorization: Bearer '$key \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use the full argument name and add indentation for readability

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

e.g. --header instead of -H

dockerize -wait tcp://localhost:${PORT} -timeout 2m
for (( i=1; i <= 10; i++ )) do
R=$((RANDOM % 100))
echo my.awesome.path $R `date +%s` | nc ${SERVER} ${PORT} -w 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so if I understand correctly this is the only place where graphite strings are generated currently but this is the only place where they all fall under the same pattern (*)

@@ -0,0 +1,2 @@
*.cgroups.*.cpu.* host.measurement.cgroup.measurement.field
*.*.path.*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and this pattern (*) isn't mentioned here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants