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

Docker swarm services & labels for selector #2945

Closed
1 task done
ralphschuler opened this issue Mar 19, 2023 · 3 comments
Closed
1 task done

Docker swarm services & labels for selector #2945

ralphschuler opened this issue Mar 19, 2023 · 3 comments
Labels
area:monitor Everything related to monitors feature-request Request for new features to be added type:enhance-existing feature wants to enhance existing monitor

Comments

@ralphschuler
Copy link

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

New Monitor

🔖 Feature description

Additionally to the containers i would like to monitor swarm services.

And then to change the Selector (Container id) to container or service labels.

✔️ Solution

Instead of using the Container ID the check would use labels either attached to a container or a service.

❓ Alternatives

No response

📝 Additional Context

Im honestly not sure what i should add to it.

its "quite simple".

I looked into it and could maybe be able to implement it myself.
the question is how to start so i dont messup everything.

@ralphschuler ralphschuler added the feature-request Request for new features to be added label Mar 19, 2023
@ralphschuler ralphschuler changed the title Docker swarm services Docker swarm services & labels for selector Mar 19, 2023
@CommanderStorm CommanderStorm added the area:monitor Everything related to monitors label Dec 6, 2023
@CommanderStorm
Copy link
Collaborator

CommanderStorm commented Dec 13, 2023

likely depends on #957
Related #882

@CommanderStorm CommanderStorm added blocked cannot progress because of external reasons type:new proposing to add a new monitor labels Dec 13, 2023
@Chirishman
Copy link

likely depends on #957 Related #882

Not actually dependent on anything else. If you point at a management node's IP it will answer about the service availability for the whole swarm.

See this workaround: #3069 (comment)

@chakflying chakflying added type:enhance-existing feature wants to enhance existing monitor and removed blocked cannot progress because of external reasons type:new proposing to add a new monitor labels Jan 27, 2024
@CommanderStorm
Copy link
Collaborator

I think this is better tracked in #4233, as docker-compose and docker swarm are likely not as different.
=> merging these issuses via closing this one as a duplicate.

Tip

If you have a look at the dependency linked in #957, @BigBoot has shared https://github.com/BigBoot/AutoKuma, which claims to solve this usecase.
We have not tested if it works as advertised, nor audited said software.

@CommanderStorm CommanderStorm closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:monitor Everything related to monitors feature-request Request for new features to be added type:enhance-existing feature wants to enhance existing monitor
Projects
None yet
Development

No branches or pull requests

4 participants