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

HAProxy Module improvements #2485

Closed
8 of 10 tasks
ruflin opened this issue Sep 8, 2016 · 12 comments
Closed
8 of 10 tasks

HAProxy Module improvements #2485

ruflin opened this issue Sep 8, 2016 · 12 comments

Comments

@ruflin
Copy link
Member

ruflin commented Sep 8, 2016

@andrewkroh
Copy link
Member

andrewkroh commented Sep 16, 2016

(content moved to comment above)

@ruflin
Copy link
Member Author

ruflin commented Sep 16, 2016

@andrewkroh I took your TODO's and also put them on the top so we have all in one place.

@hartfordfive
Copy link
Contributor

@andrewkroh Regarding most of the errors regarding the HAProxy fields, I believe it's because some of the fields aren't present in each stat entry. How do you guys deal with fields that may not always have a value like in this case? That way I can keep that in mind for the next time I create a module.

@ruflin
Copy link
Member Author

ruflin commented Sep 19, 2016

@hartfordfive For the fields that are optional, you can use the Optional flag. See for example here in apache status metricset: https://github.com/elastic/beats/blob/master/metricbeat/module/apache/status/data.go#L23

ruflin added a commit to ruflin/beats that referenced this issue Oct 7, 2016
* HAProxy status module has many fields which are not populated before values are set. These fields were marked Optional to not throw errors.
* Add data tests to haproxy module to generate data.json
* Cleanup config to be similar to the other configs

Part of elastic#2485
Closes elastic#2574
@ruflin
Copy link
Member Author

ruflin commented Oct 7, 2016

@hartfordfive I did a first step of the cleanup here including making some fields optional: #2720

monicasarbu pushed a commit that referenced this issue Oct 7, 2016
* HAProxy status module has many fields which are not populated before values are set. These fields were marked Optional to not throw errors.
* Add data tests to haproxy module to generate data.json
* Cleanup config to be similar to the other configs

Part of #2485
Closes #2574
@andrewkroh
Copy link
Member

The titles are duplicated:
screen shot 2016-11-02 at 3 59 29 pm

And the description for the stat metricset says: "This is the info metricset of the module haproxy."

@Chadwiki
Copy link

Chadwiki commented Nov 2, 2016

^ I noticed this on the bottom nav.

ruflin added a commit to ruflin/beats that referenced this issue Nov 3, 2016
* Fix duplicated info name
* Change ruby to log docs
* Document supported versions

See elastic#2485
@ruflin
Copy link
Member Author

ruflin commented Nov 3, 2016

@andrewkroh @Chadwiki I addressed this in #2929

@hartfordfive
Copy link
Contributor

@ruflin Thanks for making those changes. I haven't had much time to work on the haproxy or php-fpm module since my last commit. Hopefully I'll be able to continue working on the php-fpm module soon.

@ruflin
Copy link
Member Author

ruflin commented Nov 4, 2016

@hartfordfive No worries. Looking forward to your future contributions.

tsg pushed a commit that referenced this issue Nov 4, 2016
* Fix duplicated info name
* Change ruby to log docs
* Document supported versions

See #2485
ruflin added a commit to ruflin/beats that referenced this issue Nov 4, 2016
* Fix duplicated info name
* Change ruby to log docs
* Document supported versions

See elastic#2485
(cherry picked from commit 2d776fa)
tsg pushed a commit that referenced this issue Nov 8, 2016
* Fix duplicated info name
* Change ruby to log docs
* Document supported versions

See #2485
(cherry picked from commit 2d776fa)
@ruflin
Copy link
Member Author

ruflin commented Nov 22, 2016

I think we are now mostly done with the cleanup. Only open point is creating dashboards and I kind of assuming during creating dashboards we will find some issues in the fields. @monicasarbu Interested to do the dashboards? ;-)

@ruflin ruflin added the module label Feb 26, 2018
@ruflin
Copy link
Member Author

ruflin commented Feb 26, 2018

Closing this even though we don't have the dashboards yet.

@ruflin ruflin closed this as completed Feb 26, 2018
leweafan pushed a commit to leweafan/beats that referenced this issue Apr 28, 2023
* Fix duplicated info name
* Change ruby to log docs
* Document supported versions

See elastic#2485
(cherry picked from commit d58edcf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants