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

Tristan/haproxy #935

Merged
merged 3 commits into from May 8, 2014
Merged

Tristan/haproxy #935

merged 3 commits into from May 8, 2014

Conversation

tmichelet
Copy link
Contributor

  • Update Events labels:
    before
    screen shot 2014-05-06 at 6 25 42 pm
    after
    screen shot 2014-05-07 at 10 09 16 am
    (detail per svname, including aggregates)
  • Update metrics:
    • improve performance
    • Optional count_per_status per svname
      screen shot 2014-05-06 at 6 26 15 pm
      Other tags are host, service, status, service_name
    • Leave metrics unchanged
      have both haproxy.backend and haproxy.frontend, with tags host, service, type, instance_url and backend


for line in data[1:]: # Skip the first line
# Skip the first line, go backwards to know the appropriate svname
for line in data[:0:-1]:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

would data[1:][::-1] be more explicit?

Copy link
Contributor

Choose a reason for hiding this comment

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

It's fine, you already added a comment to explain why you're doing that.

@remh remh added this to the 4.3.x milestone May 8, 2014
@remh
Copy link
Contributor

remh commented May 8, 2014

Looks great thanks!

remh added a commit that referenced this pull request May 8, 2014
@remh remh merged commit 3abbe5d into master May 8, 2014
@tmichelet tmichelet deleted the tristan/haproxy branch May 12, 2014 22:18
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