Skip to content

Conversation

mohammed90
Copy link

The implementation is done by copying what's done for the counterparts, but I'm having a hard time testing the changes due to #407.

Resolves #336

Keeping the PR as draft until sanity checks are done and is validated.

{'service_id': 4, 'service': 'Apache', 'slug': 'apache'},
{'service_id': 5, 'service': 'HA cluster', 'slug': 'cluster'},
{'service_id': 6, 'service': 'UDP listener', 'slug': 'udp'},
{'service_id': 2, 'service': 'Caddy', 'slug': 'caddy'},
Copy link
Member

Choose a reason for hiding this comment

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

service_id must be 7, 2 is for nginx

'nginx': nginx,
'apache': apache,
'ip': vip,
'caddy': caddy,
Copy link
Member

Choose a reason for hiding this comment

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

if you would like do caddy installation with creating HA cluster, you should write ansible role for it

}

if exporter in ('haproxy', 'nginx', 'apache'):
if exporter in ('haproxy', 'nginx', 'apache', 'caddy'):
Copy link
Member

Choose a reason for hiding this comment

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

if you would like do caddy exporter installation, you should write ansible role for it

Copy link
Member

Choose a reason for hiding this comment

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

Something strange

Copy link
Member

Choose a reason for hiding this comment

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

Does caddy have the same stats page as haproxy?

<script src="/static/js/codemirror/addon/fold/comment-fold.js"></script>
<script src="/static/js/codemirror/addon/scroll/annotatescrollbar.js"></script>
<script src="/static/js/codemirror/mode/nginx.js"></script>
<script src="/static/js/codemirror/mode/caddy.js"></script>
Copy link
Member

Choose a reason for hiding this comment

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

There is no caddy.js

<span class="ui-button ui-widget ui-corner-all" id="caddy_install" title="{{lang.words.install|title()}} Caddy">{{lang.words.install|title()}}</span>
</td>
</tr>
</table>
Copy link
Member

Choose a reason for hiding this comment

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

if you would like do caddy installation, you should write ansible role for it

@Aidaho12
Copy link
Member

Looks great, but there are some comments from me.

Also will be great if you create update DB for caddy in the create_db.py file

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.

Feature request: support for Caddy webserver
2 participants